Expander: Replace (allow-none) with (nullable)
The former is deprecated in favour of the latter.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user