summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubutton.c
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2020-09-29 20:46:18 +0200
committerFlorian Müllner <fmuellner@gnome.org>2020-09-29 20:58:25 +0200
commit7ad42df727d05fb8f54f99dc7c092db567186ca4 (patch)
treed8dfc9576bdfcdf1d8228719220b2aa0f0874192 /gtk/gtkmenubutton.c
parent687ed74d46f8e72005ce234596496fd842a7b8ef (diff)
downloadgtk+-7ad42df727d05fb8f54f99dc7c092db567186ca4.tar.gz
menubutton: Remove obsolete private method
It was only added for the fallback app menu in headerbars, which has been removed in the meantime.
Diffstat (limited to 'gtk/gtkmenubutton.c')
-rw-r--r--gtk/gtkmenubutton.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index bbfaf78733..54fca43b33 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -916,13 +916,6 @@ gtk_menu_button_popdown (GtkMenuButton *menu_button)
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (menu_button->button), FALSE);
}
-void
-gtk_menu_button_add_child (GtkMenuButton *menu_button,
- GtkWidget *new_child)
-{
- gtk_button_set_child (GTK_BUTTON (menu_button->button), new_child);
-}
-
/**
* gtk_menu_button_set_create_popup_func:
* @menu_button: a #GtkMenuButton