label: Rearrange struct members
authorMohammed Sadiq <sadiq@sadiqpk.org>
Fri, 11 May 2018 06:28:34 +0000 (11:58 +0530)
committerMohammed Sadiq <sadiq@sadiqpk.org>
Fri, 11 May 2018 10:40:03 +0000 (16:10 +0530)
Rearranging so can save us 8 bytes per GtkLabel
on 32/64 bit aligned memory.
Not a big count, but we get it for free.

gtk/gtklabel.c

index a3ebbe0af5c6cf5cdf4a5678bf0a8afabf5f77a0..136abcba43e0fb17a7602c569c4b476d630df9be 100644 (file)
@@ -270,11 +270,11 @@ struct _GtkLabelPrivate
   guint    jtype              : 2;
   guint    wrap               : 1;
   guint    use_underline      : 1;
-  guint    use_markup         : 1;
   guint    ellipsize          : 3;
+  guint    use_markup         : 1;
+  guint    wrap_mode          : 3;
   guint    single_line_mode   : 1;
   guint    in_click           : 1;
-  guint    wrap_mode          : 3;
   guint    pattern_set        : 1;
   guint    track_links        : 1;