Commit 87393c7f authored by Matthias Clasen's avatar Matthias Clasen

Merge branch 'small-cleanup' into 'master'

menubutton: Remove obsolete private method

See merge request !2643
parents 76d61690 7ad42df7
Pipeline #217374 passed with stages
in 60 minutes and 2 seconds
......@@ -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__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment