forked from AuroraMiddleware/gtk
GtkWidgetPrivate: Improve struct packing
This commit is contained in:
parent
28e87c8f97
commit
304989291d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user