[gtk+] GtkButtonPrivate: Improve struct packing
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkButtonPrivate: Improve struct packing
- Date: Tue, 12 Apr 2011 16:51:49 +0000 (UTC)
commit 9a5d2a52d33ab22d2ec23cd5896df61e571e5a67
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Apr 12 12:25:25 2011 -0400
GtkButtonPrivate: Improve struct packing
gtk/gtkbuttonprivate.h | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkbuttonprivate.h b/gtk/gtkbuttonprivate.h
index b6007cd..259bc42 100644
--- a/gtk/gtkbuttonprivate.h
+++ b/gtk/gtkbuttonprivate.h
@@ -24,19 +24,20 @@
struct _GtkButtonPrivate
{
GtkAction *action;
- GtkPositionType image_position;
GtkWidget *image;
GdkDevice *grab_keyboard;
GdkWindow *event_window;
- gchar *label_text;
+ gchar *label_text;
+
+ gfloat xalign;
+ gfloat yalign;
- gfloat xalign;
- gfloat yalign;
+ guint activate_timeout;
+ guint32 grab_time;
- guint activate_timeout;
- guint32 grab_time;
+ GtkPositionType image_position;
guint align_set : 1;
guint button_down : 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]