summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun@arunraghavan.net>2017-07-13 11:25:11 +0530
committerMatthias Clasen <mclasen@redhat.com>2017-07-18 14:03:59 -0400
commit4b1853b32fff3202daa32276191dc2214aef5bf3 (patch)
tree251bf9b61b3a1ae00ce9da65c7da2431fe7532b3
parentcddce5a0239c3c5a707af2957d66735d63ae0477 (diff)
downloadgtk+-4b1853b32fff3202daa32276191dc2214aef5bf3.tar.gz
gtkapplication: Mark gtk_application_get_active_window() as nullable
https://bugzilla.gnome.org/show_bug.cgi?id=784888
-rw-r--r--gtk/gtkapplication.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index ff70808584..da6712160f 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -860,7 +860,8 @@ gtk_application_get_window_by_id (GtkApplication *application,
* if another application has it — this is just the most
* recently-focused window within this application.
*
- * Returns: (transfer none): the active window
+ * Returns: (transfer none) (nullable): the active window, or %NULL if
+ * there isn't one.
*
* Since: 3.6
**/