[gtk+] GtkWindow: rearrange private struct to fill some holes



commit 3fbfd82e9e0f8597f984345a28d850794922c9bc
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Apr 11 18:33:43 2011 -0400

    GtkWindow: rearrange private struct to fill some holes

 gtk/gtkwindow.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index fb95761..1a3c40f 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -107,13 +107,12 @@ struct _GtkWindowPrivate
   GtkWindow             *transient_parent;
   GtkWindowGeometryInfo *geometry_info;
   GtkWindowGroup        *group;
+  GdkScreen             *screen;
+  GtkApplication        *application;
 
   GdkModifierType        mnemonic_modifier;
-  GdkScreen             *screen;
   GdkWindowTypeHint      gdk_type_hint;
 
-  GtkApplication        *application;
-
   gdouble  opacity;
 
   GdkWindow *grip_window;
@@ -147,7 +146,6 @@ struct _GtkWindowPrivate
   guint    destroy_with_parent       : 1;
   guint    focus_on_map              : 1;
   guint    fullscreen_initially      : 1;
-  guint    gravity                   : 5; /* GdkGravity */
   guint    has_focus                 : 1;
   guint    has_user_ref_count        : 1;
   guint    has_toplevel_focus        : 1;
@@ -176,6 +174,7 @@ struct _GtkWindowPrivate
   guint    resize_grip_visible       : 1;  /* don't use, just for "resize-
                                             * grip-visible" notification
                                             */
+  guint    gravity                   : 5; /* GdkGravity */
 
 };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]