GtkScale: Add missing nullable annotations

This commit is contained in:
Timm Bäder 2015-12-02 11:19:48 +01:00
parent 8efdd94a31
commit 591e7f5ef8

View File

@ -601,7 +601,7 @@ gtk_scale_get_property (GObject *object,
/**
* gtk_scale_new:
* @orientation: the scales 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