[gtk+/gtk-3-22] gtkapplication: Mark gtk_application_get_active_window() as nullable



commit f05e6b2936dff9ce848cb42eb1bf13c07f9821eb
Author: Arun Raghavan <arun arunraghavan net>
Date:   Thu Jul 13 11:25:11 2017 +0530

    gtkapplication: Mark gtk_application_get_active_window() as nullable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784888

 gtk/gtkapplication.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index d18ff2b..5589947 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -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
  **/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]