[gtk+] GtkCellViewPrivate: Improve struct packing



commit a4e52ece331d0f383908679c416669c9a4ff429d
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Apr 12 12:32:04 2011 -0400

    GtkCellViewPrivate: Improve struct packing

 gtk/gtkcellview.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index 051bae5..09e583f 100644
--- a/gtk/gtkcellview.c
+++ b/gtk/gtkcellview.c
@@ -126,16 +126,16 @@ struct _GtkCellViewPrivate
   GtkCellArea         *area;
   GtkCellAreaContext  *context;
 
-  GtkOrientation       orientation;
-
   GdkRGBA              background;
-  gboolean             background_set;
 
   gulong               size_changed_id;
   gulong               row_changed_id;
 
-  guint32              draw_sensitive : 1;
-  guint32              fit_model      : 1;
+  GtkOrientation       orientation;
+
+  guint                background_set : 1;
+  guint                draw_sensitive : 1;
+  guint                fit_model      : 1;
 };
 
 static GtkBuildableIface *parent_buildable_iface;



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