Expander: Annotate new()’s label arg as nullable
authorDaniel Boles <dboles@src.gnome.org>
Thu, 14 Sep 2017 20:19:33 +0000 (21:19 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Thu, 14 Sep 2017 20:19:33 +0000 (21:19 +0100)
to match new_with_mnemonic()

gtk/gtkexpander.c

index bc6b90e42515970ee9dccceae0623da1fb879346..1eee8db99216bc423db924bdbaf37fbd7f63c8fa 100644 (file)
@@ -1215,7 +1215,7 @@ gtk_expander_get_preferred_height_for_width (GtkWidget *widget,
 
 /**
  * gtk_expander_new:
- * @label: the text of the label
+ * @label: (nullable): the text of the label
  *
  * Creates a new expander using @label as the text of the label.
  *