[gtk+] GtkToolbarPrivate: Improve struct packing
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkToolbarPrivate: Improve struct packing
- Date: Tue, 12 Apr 2011 16:53:45 +0000 (UTC)
commit 900ea46adde2cf2435d3aa4ed368ae6ab4089cb7
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Apr 12 12:48:55 2011 -0400
GtkToolbarPrivate: Improve struct packing
gtk/gtktoolbar.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index 5fea923..2515d3c 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -105,11 +105,12 @@ typedef struct _ToolbarContent ToolbarContent;
struct _GtkToolbarPrivate
{
- GtkIconSize icon_size;
GtkMenu *menu;
- GtkOrientation orientation;
GtkSettings *settings;
+
+ GtkIconSize icon_size;
GtkToolbarStyle style;
+
GtkToolItem *highlight_tool_item;
GtkWidget *arrow;
GtkWidget *arrow_button;
@@ -121,13 +122,15 @@ struct _GtkToolbarPrivate
GTimer *timer;
+ gulong settings_connection;
+
gint idle_id;
gint button_maxw; /* maximum width of homogeneous children */
gint button_maxh; /* maximum height of homogeneous children */
gint max_homogeneous_pixels;
gint num_children;
- gulong settings_connection;
+ GtkOrientation orientation;
guint animation : 1;
guint icon_size_set : 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]