From cc24dbe9c7fa8dc7acb5e908a1bd45e2963c678b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 8 Nov 2011 23:35:06 -0500 Subject: 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. --- gtk/gtkapplication.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk/gtkapplication.h') 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 +#include #include 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__ */ -- cgit v1.2.1