[gtk] menuitem: Remove unused members
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] menuitem: Remove unused members
- Date: Sat, 12 Oct 2019 15:59:50 +0000 (UTC)
commit 4c4bca0c39732fae36f0301c20f7c2a8a5dd00af
Author: Timm Bäder <mail baedert org>
Date: Sat Oct 12 17:41:20 2019 +0200
menuitem: Remove unused members
gtk/gtkmenuitem.c | 1 -
gtk/gtkmenuitemprivate.h | 2 --
2 files changed, 3 deletions(-)
---
diff --git a/gtk/gtkmenuitem.c b/gtk/gtkmenuitem.c
index 549c9b479c..111d94ff89 100644
--- a/gtk/gtkmenuitem.c
+++ b/gtk/gtkmenuitem.c
@@ -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);
diff --git a/gtk/gtkmenuitemprivate.h b/gtk/gtkmenuitemprivate.h
index 7b461f100e..0482471e70 100644
--- a/gtk/gtkmenuitemprivate.h
+++ b/gtk/gtkmenuitemprivate.h
@@ -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;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]