GtkWidgetPrivate: Improve struct packing

This commit is contained in:
Matthias Clasen 2011-04-12 12:50:30 -04:00
parent 28e87c8f97
commit 304989291d

View File

@ -382,8 +382,10 @@ struct _GtkWidgetPrivate
GtkStyle *style;
GtkStyleContext *context;
/* The widget's allocated size.
*/
/* Widget's path for styling */
GtkWidgetPath *path;
/* The widget's allocated size */
GtkAllocation allocation;
/* The widget's requested sizes */
@ -395,17 +397,13 @@ struct _GtkWidgetPrivate
*/
GdkWindow *window;
/* The widget's parent.
*/
/* The widget's parent */
GtkWidget *parent;
#ifdef G_ENABLE_DEBUG
/* Number of gtk_widget_push_verify_invariants () */
guint verifying_invariants_count;
#endif /* G_ENABLE_DEBUG */
/* Widget's path for styling */
GtkWidgetPath *path;
};
enum {