[gtk+] GtkScale: Add missing nullable annotations



commit 591e7f5ef8538982e227b2c2cefc536a33cafa6c
Author: Timm Bäder <mail baedert org>
Date:   Wed Dec 2 11:19:48 2015 +0100

    GtkScale: Add missing nullable annotations

 gtk/gtkscale.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index 4b73c52..07a7a61 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -601,7 +601,7 @@ gtk_scale_get_property (GObject      *object,
 /**
  * gtk_scale_new:
  * @orientation: the scale’s orientation.
- * @adjustment: (allow-none): the #GtkAdjustment which sets the range
+ * @adjustment: (allow-none) (nullable): the #GtkAdjustment which sets the range
  *              of the scale, or %NULL to create a new adjustment.
  *
  * Creates a new #GtkScale.
@@ -1455,7 +1455,7 @@ gtk_scale_finalize (GObject *object)
  * object is owned by the scale so does not need to be freed by
  * the caller.
  *
- * Returns: (transfer none): the #PangoLayout for this scale,
+ * Returns: (transfer none) (nullable): the #PangoLayout for this scale,
  *     or %NULL if the #GtkScale:draw-value property is %FALSE.
  *
  * Since: 2.4


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