menuitem: Remove unused members
This commit is contained in:
@@ -740,7 +740,6 @@ gtk_menu_item_dispose (GObject *object)
|
||||
GtkMenuItem *menu_item = GTK_MENU_ITEM (object);
|
||||
GtkMenuItemPrivate *priv = menu_item->priv;
|
||||
|
||||
g_clear_object (&priv->motion_controller);
|
||||
g_clear_object (&priv->action_helper);
|
||||
g_clear_pointer (&priv->arrow_widget, gtk_widget_unparent);
|
||||
|
||||
|
||||
@@ -40,11 +40,9 @@ struct _GtkMenuItemPrivate
|
||||
GtkActionHelper *action_helper;
|
||||
|
||||
GtkWidget *arrow_widget;
|
||||
GtkEventController *motion_controller;
|
||||
|
||||
guint submenu_placement : 1;
|
||||
guint submenu_direction : 1;
|
||||
guint right_justify : 1;
|
||||
guint from_menubar : 1;
|
||||
guint reserve_indicator : 1;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user