forked from AuroraMiddleware/gtk
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:
parent
687ed74d46
commit
7ad42df727
@ -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
|
||||
|
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user