summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-11-08 23:35:06 -0500
committerRyan Lortie <desrt@desrt.ca>2011-12-19 12:45:51 -0500
commitcc24dbe9c7fa8dc7acb5e908a1bd45e2963c678b (patch)
treef8a0fb76713e46e1d87eeb6c6e93dc94c24dc5ba /gtk/gtkapplication.h
parent601b3fca6045e81bd87646123e0de2a18f145824 (diff)
downloadgtk+-cc24dbe9c7fa8dc7acb5e908a1bd45e2963c678b.tar.gz
GtkApplication: add a way to get the appmenu
This function either returns a GtkMenu or NULL. Still to do: detect if the app menu is externally handled.
Diffstat (limited to 'gtk/gtkapplication.h')
-rw-r--r--gtk/gtkapplication.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h
index 08f24af413..eea620db6c 100644
--- a/gtk/gtkapplication.h
+++ b/gtk/gtkapplication.h
@@ -27,6 +27,7 @@
#define __GTK_APPLICATION_H__
#include <gtk/gtkwidget.h>
+#include <gtk/gtkmenu.h>
#include <gio/gio.h>
G_BEGIN_DECLS
@@ -76,6 +77,8 @@ void gtk_application_remove_window (GtkAppl
GList * gtk_application_get_windows (GtkApplication *application);
+GtkMenu * gtk_application_get_menu (GtkApplication *application);
+
G_END_DECLS
#endif /* __GTK_APPLICATION_H__ */