Expander: Replace (allow-none) with (nullable)
authorDaniel Boles <dboles@src.gnome.org>
Thu, 14 Sep 2017 20:19:12 +0000 (21:19 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Thu, 14 Sep 2017 20:19:14 +0000 (21:19 +0100)
The former is deprecated in favour of the latter.

gtk/gtkexpander.c

index 894a34a64860c8d3ea2d070988ad3d7099d17687..bc6b90e42515970ee9dccceae0623da1fb879346 100644 (file)
@@ -1231,7 +1231,7 @@ gtk_expander_new (const gchar *label)
 
 /**
  * gtk_expander_new_with_mnemonic:
- * @label: (allow-none): the text of the label with an underscore
+ * @label: (nullable): the text of the label with an underscore
  *     in front of the mnemonic character
  *
  * Creates a new expander using @label as the text of the label.
@@ -1376,7 +1376,7 @@ gtk_expander_get_spacing (GtkExpander *expander)
 /**
  * gtk_expander_set_label:
  * @expander: a #GtkExpander
- * @label: (allow-none): a string
+ * @label: (nullable): a string
  *
  * Sets the text of the label of the expander to @label.
  *
@@ -1555,7 +1555,7 @@ gtk_expander_get_use_markup (GtkExpander *expander)
 /**
  * gtk_expander_set_label_widget:
  * @expander: a #GtkExpander
- * @label_widget: (allow-none): the new label widget
+ * @label_widget: (nullable): the new label widget
  *
  * Set the label widget for the expander. This is the widget
  * that will appear embedded alongside the expander arrow.