GtkMenuItemPrivate: Improve struct packing
This commit is contained in:
@ -33,8 +33,13 @@ struct _GtkMenuItemPrivate
|
|||||||
|
|
||||||
guint16 toggle_size;
|
guint16 toggle_size;
|
||||||
guint16 accelerator_width;
|
guint16 accelerator_width;
|
||||||
|
|
||||||
|
guint timer;
|
||||||
|
|
||||||
gchar *accel_path;
|
gchar *accel_path;
|
||||||
|
|
||||||
|
GtkAction *action;
|
||||||
|
|
||||||
guint show_submenu_indicator : 1;
|
guint show_submenu_indicator : 1;
|
||||||
guint submenu_placement : 1;
|
guint submenu_placement : 1;
|
||||||
guint submenu_direction : 1;
|
guint submenu_direction : 1;
|
||||||
@ -43,10 +48,6 @@ struct _GtkMenuItemPrivate
|
|||||||
guint from_menubar : 1;
|
guint from_menubar : 1;
|
||||||
guint use_action_appearance : 1;
|
guint use_action_appearance : 1;
|
||||||
guint reserve_indicator : 1;
|
guint reserve_indicator : 1;
|
||||||
|
|
||||||
guint timer;
|
|
||||||
|
|
||||||
GtkAction *action;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void _gtk_menu_item_refresh_accel_path (GtkMenuItem *menu_item,
|
void _gtk_menu_item_refresh_accel_path (GtkMenuItem *menu_item,
|
||||||
|
|||||||
Reference in New Issue
Block a user