]> Pileus Git - ~andy/gtk/commitdiff
GtkPanedPrivate: Improve struct packing
authorMatthias Clasen <mclasen@redhat.com>
Tue, 12 Apr 2011 16:37:55 +0000 (12:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 12 Apr 2011 16:37:55 +0000 (12:37 -0400)
gtk/gtkpaned.c

index 219e5e5bb3d16d3d7ab426e84af1658e121ad075..28de64033cb62688b5fa6d3d96c4e1da09d1c3f3 100644 (file)
 
 struct _GtkPanedPrivate
 {
-  GtkOrientation  orientation;
   GtkPaned       *first_paned;
   GtkWidget      *child1;
   GtkWidget      *child2;
   GtkWidget      *last_child1_focus;
   GtkWidget      *last_child2_focus;
   GtkWidget      *saved_focus;
+  GtkOrientation  orientation;
 
   GdkCursorType  cursor_type;
   GdkDevice     *grab_device;
@@ -111,6 +111,8 @@ struct _GtkPanedPrivate
   gint          min_position;
   gint          original_position;
 
+  guint32       grab_time;
+
   guint         handle_prelit : 1;
   guint         in_drag       : 1;
   guint         in_recursion  : 1;
@@ -119,8 +121,6 @@ struct _GtkPanedPrivate
   guint         child2_resize : 1;
   guint         child2_shrink : 1;
   guint         position_set  : 1;
-
-  guint32       grab_time;
 };
 
 enum {