[gtk+] GtkIconViewPrivate: Improve struct packing



commit 6c9f20e58db5fdc79960fbf1a002b9b73c5a2cc4
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Apr 12 12:33:24 2011 -0400

    GtkIconViewPrivate: Improve struct packing

 gtk/gtkiconview.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 03c4e59..b395f43 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -109,19 +109,19 @@ struct _GtkIconViewPrivate
 
   GtkSelectionMode selection_mode;
 
+  guint layout_idle_id;
+
   GdkWindow *bin_window;
 
   GList *children;
 
   GtkTreeModel *model;
-  
+
   GList *items;
-  
+
   GtkAdjustment *hadjustment;
   GtkAdjustment *vadjustment;
 
-  guint layout_idle_id;
-  
   gint rubberband_x1, rubberband_y1;
   gint rubberband_x2, rubberband_y2;
   GdkDevice *rubberband_device;
@@ -148,12 +148,11 @@ struct _GtkIconViewPrivate
   gint text_column;
   gint markup_column;
   gint pixbuf_column;
+  gint tooltip_column;
 
   GtkCellRenderer *pixbuf_cell;
   GtkCellRenderer *text_cell;
 
-  gint tooltip_column;
-
   /* Drag-and-drop. */
   GdkModifierType start_button_mask;
   gint pressed_button;



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