diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-09-29 21:52:37 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-09-29 21:52:37 +0000 |
commit | 87393c7fb6d533dbc3eeab533312c99ab80c1754 (patch) | |
tree | 60dab94c463980f1b58d7371b0bef67896c6485e /gtk | |
parent | 76d616909f0e48bca5e5c2bd48adab2556cf54a3 (diff) | |
parent | 7ad42df727d05fb8f54f99dc7c092db567186ca4 (diff) | |
download | gtk+-87393c7fb6d533dbc3eeab533312c99ab80c1754.tar.gz |
Merge branch 'small-cleanup' into 'master'
menubutton: Remove obsolete private method
See merge request GNOME/gtk!2643
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkmenubutton.c | 7 | ||||
-rw-r--r-- | gtk/gtkmenubuttonprivate.h | 3 |
2 files changed, 0 insertions, 10 deletions
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 diff --git a/gtk/gtkmenubuttonprivate.h b/gtk/gtkmenubuttonprivate.h index aaddeea39b..9fb6cee70a 100644 --- a/gtk/gtkmenubuttonprivate.h +++ b/gtk/gtkmenubuttonprivate.h @@ -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__ */ |