menubutton: Remove obsolete private method

It was only added for the fallback app menu in headerbars, which
has been removed in the meantime.
This commit is contained in:
Florian Müllner 2020-09-29 20:46:18 +02:00
parent 687ed74d46
commit 7ad42df727
2 changed files with 0 additions and 10 deletions

View File

@ -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

View File

@ -25,9 +25,6 @@
G_BEGIN_DECLS
void gtk_menu_button_add_child (GtkMenuButton *button,
GtkWidget *child);
G_END_DECLS
#endif /* __GTK_MENU_BUTTON_PRIVATE_H__ */