[gtk+] GtkCellRendererAccelPrivate: Improve struct packing



commit 92f1f0c11810cfbd751ae8d20b78d2d61a04733b
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Apr 12 12:30:04 2011 -0400

    GtkCellRendererAccelPrivate: Improve struct packing

 gtk/gtkcellrendereraccel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcellrendereraccel.c b/gtk/gtkcellrendereraccel.c
index 4cafe70..eb4bd20 100644
--- a/gtk/gtkcellrendereraccel.c
+++ b/gtk/gtkcellrendereraccel.c
@@ -91,8 +91,6 @@ enum {
 
 struct _GtkCellRendererAccelPrivate
 {
-  GtkCellRendererAccelMode accel_mode;
-
   GtkWidget *edit_widget;
   GtkWidget *grab_widget;
   GtkWidget *sizing_label;
@@ -100,6 +98,8 @@ struct _GtkCellRendererAccelPrivate
   GdkDevice *grab_keyboard;
   GdkDevice *grab_pointer;
 
+  GtkCellRendererAccelMode accel_mode;
+
   GdkModifierType accel_mods;
 
   guint accel_key;



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