• Havoc Pennington's avatar
    Use gint16 for GtkBorder · b3079c0d
    Havoc Pennington authored
    32K of border ought to be enough for any pixel dimensions. At least
    until screens are so huge we start using doubles.
    This saves a nice 64 bits of space when we have a GtkBorder
    stored somewhere.
    Signed integers are used to avoid surprising unsigned math
    issues. Just search GTK's whole git log from inception
    for "unsigned" if you want to find any number of commits
    fixing signed/unsigned bugs.
gtksettings.c 81.9 KB