gtkapplication: Mark gtk_application_get_active_window() as nullable
authorArun Raghavan <arun@arunraghavan.net>
Thu, 13 Jul 2017 05:55:11 +0000 (11:25 +0530)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 18 Jul 2017 18:35:39 +0000 (14:35 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=784888

gtk/gtkapplication.c

index d18ff2bdef97bff872e6c77e3bf677e9d8f5720d..55899477c15dfeb2a1cbb8c06eaadf1433c322b8 100644 (file)
@@ -862,7 +862,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
  **/