From 7ad42df727d05fb8f54f99dc7c092db567186ca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 29 Sep 2020 20:46:18 +0200 Subject: menubutton: Remove obsolete private method It was only added for the fallback app menu in headerbars, which has been removed in the meantime. --- gtk/gtkmenubutton.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gtk/gtkmenubutton.c') 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 -- cgit v1.2.1