summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2012-04-20 19:29:11 +0200
committerChristian Persch <chpe@gnome.org>2012-05-03 17:45:46 +0200
commitff66d0d8e5817596cc7fd736abfebbf3dfd94fc5 (patch)
tree3f456995c21de297a3a8473d36f07affa3177ad1 /gtk/gtkapplication.h
parent824776cb02af011424ad6bdaa15238a1eafcb700 (diff)
downloadgtk+-ff66d0d8e5817596cc7fd736abfebbf3dfd94fc5.tar.gz
application: Add unique IDs for GtkApplicationWindow
This will allow to refer to specific GtkApplicationWindows remotely by ID. https://bugzilla.gnome.org/show_bug.cgi?id=674409
Diffstat (limited to 'gtk/gtkapplication.h')
-rw-r--r--gtk/gtkapplication.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h
index 154a4f004e..21cd389ab3 100644
--- a/gtk/gtkapplication.h
+++ b/gtk/gtkapplication.h
@@ -115,6 +115,10 @@ GDK_AVAILABLE_IN_3_4
gboolean gtk_application_is_inhibited (GtkApplication *application,
GtkApplicationInhibitFlags flags);
+GDK_AVAILABLE_IN_3_6
+GtkWindow * gtk_application_get_window_by_id (GtkApplication *application,
+ guint id);
+
G_END_DECLS
#endif /* __GTK_APPLICATION_H__ */