Merge branch 'small-cleanup' into 'master'

menubutton: Remove obsolete private method

See merge request GNOME/gtk!2643
This commit is contained in:
Matthias Clasen 2020-09-29 21:52:37 +00:00
commit 87393c7fb6
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__ */