[gtk+] GtkWidget: Add some missing nullable annotations



commit 5e2aec7cbb3bf8e3d7a23f180dc53e8a8266e6a5
Author: Timm Bäder <mail baedert org>
Date:   Tue Nov 24 10:49:05 2015 +0100

    GtkWidget: Add some missing nullable annotations

 gtk/gtkwidget.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index ab31680..2a155fc 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -15657,7 +15657,8 @@ union_with_clip (GtkWidget *widget,
 /*
  * _gtk_widget_set_simple_clip:
  * @widget: a #GtkWidget
- * @content_clip: Clipping area of the contents or %NULL, if the contents
+ * @content_clip: (nullable): Clipping area of the contents
+ *     or %NULL, if the contents
  *     do not extent the allocation.
  *
  * This is a convenience function for gtk_widget_set_clip(), if you
@@ -16019,7 +16020,7 @@ gtk_widget_unregister_window (GtkWidget    *widget,
  *
  * Returns the widget’s window if it is realized, %NULL otherwise
  *
- * Returns: (transfer none): @widget’s window.
+ * Returns: (transfer none) (nullable): @widget’s window.
  *
  * Since: 2.14
  */


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