summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubuttonprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-06-13 19:31:48 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-06-13 19:39:45 +0000
commitf1fe54f337453fa58b081690368d5931b5b777a0 (patch)
tree5116bfdf93359f9c378b813e7a910ace8e624460 /gtk/gtkmenubuttonprivate.h
parent0740445d199b1f08e4f5786845557b25eac84445 (diff)
downloadgtk+-f1fe54f337453fa58b081690368d5931b5b777a0.tar.gz
headerbar: Fix fallback appmenu
We were using menubuttons here in a way that does not work anymore. Make it work again.
Diffstat (limited to 'gtk/gtkmenubuttonprivate.h')
-rw-r--r--gtk/gtkmenubuttonprivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkmenubuttonprivate.h b/gtk/gtkmenubuttonprivate.h
index 982ad2bdf9..85114c3318 100644
--- a/gtk/gtkmenubuttonprivate.h
+++ b/gtk/gtkmenubuttonprivate.h
@@ -32,6 +32,9 @@ void _gtk_menu_button_set_popup_with_func (GtkMenuButton *
GtkMenuButtonShowMenuCallback func,
gpointer user_data);
+void gtk_menu_button_add_child (GtkMenuButton *button,
+ GtkWidget *child);
+
G_END_DECLS
#endif /* __GTK_MENU_BUTTON_PRIVATE_H__ */