summaryrefslogtreecommitdiff
path: root/gtk/gtkmenuitem.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-01-19 08:50:37 +0100
committerTimm Bäder <mail@baedert.org>2017-01-20 21:33:38 +0100
commit13b001b77ca3907b4ff1246208755478421a7b32 (patch)
treea5aa909636bc872d8979d85993271fc5177549dd /gtk/gtkmenuitem.c
parent5f57e3b71106c7ff09ba308bfc1b8162ebfc8522 (diff)
downloadgtk+-13b001b77ca3907b4ff1246208755478421a7b32.tar.gz
widget: Remove show_all vfunc
Diffstat (limited to 'gtk/gtkmenuitem.c')
-rw-r--r--gtk/gtkmenuitem.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gtk/gtkmenuitem.c b/gtk/gtkmenuitem.c
index 4a52a4ed12..d2ae63a799 100644
--- a/gtk/gtkmenuitem.c
+++ b/gtk/gtkmenuitem.c
@@ -164,7 +164,6 @@ static gboolean gtk_menu_item_mnemonic_activate (GtkWidget *widget,
static void gtk_menu_item_ensure_label (GtkMenuItem *menu_item);
static gint gtk_menu_item_popup_timeout (gpointer data);
-static void gtk_menu_item_show_all (GtkWidget *widget);
static void gtk_menu_item_forall (GtkContainer *container,
gboolean include_internals,
@@ -595,7 +594,6 @@ gtk_menu_item_class_init (GtkMenuItemClass *klass)
widget_class->unmap = gtk_menu_item_unmap;
widget_class->enter_notify_event = gtk_menu_item_enter;
widget_class->leave_notify_event = gtk_menu_item_leave;
- widget_class->show_all = gtk_menu_item_show_all;
widget_class->mnemonic_activate = gtk_menu_item_mnemonic_activate;
widget_class->parent_set = gtk_menu_item_parent_set;
widget_class->can_activate_accel = gtk_menu_item_can_activate_accel;
@@ -1725,20 +1723,6 @@ _gtk_menu_item_popdown_submenu (GtkWidget *widget)
}
}
-static void
-gtk_menu_item_show_all (GtkWidget *widget)
-{
- GtkMenuItem *menu_item = GTK_MENU_ITEM (widget);
- GtkMenuItemPrivate *priv = menu_item->priv;
-
- /* show children including submenu */
- if (priv->submenu)
- gtk_widget_show_all (priv->submenu);
- gtk_container_foreach (GTK_CONTAINER (widget), (GtkCallback) gtk_widget_show_all, NULL);
-
- gtk_widget_show (widget);
-}
-
static gboolean
gtk_menu_item_can_activate_accel (GtkWidget *widget,
guint signal_id)