forked from AuroraMiddleware/gtk
frame: annotate the @label params with (allow-none)
This commit is contained in:
parent
ac629c0f69
commit
d4679c0a13
@ -219,7 +219,7 @@ gtk_aspect_frame_get_property (GObject *object,
|
||||
|
||||
/**
|
||||
* gtk_aspect_frame_new:
|
||||
* @label: Label text.
|
||||
* @label: (allow-none): Label text.
|
||||
* @xalign: Horizontal alignment of the child within the allocation of
|
||||
* the #GtkAspectFrame. This ranges from 0.0 (left aligned)
|
||||
* to 1.0 (right aligned)
|
||||
|
@ -332,7 +332,7 @@ gtk_frame_get_property (GObject *object,
|
||||
|
||||
/**
|
||||
* gtk_frame_new:
|
||||
* @label: the text to use as the label of the frame
|
||||
* @label: (allow-none): the text to use as the label of the frame
|
||||
*
|
||||
* Creates a new #GtkFrame, with optional label @label.
|
||||
* If @label is %NULL, the label is omitted.
|
||||
|
@ -1617,7 +1617,7 @@ gtk_label_buildable_custom_finished (GtkBuildable *buildable,
|
||||
|
||||
/**
|
||||
* gtk_label_new:
|
||||
* @str: The text of the label
|
||||
* @str: (allow-none): The text of the label
|
||||
*
|
||||
* Creates a new label with the given text inside it. You can
|
||||
* pass %NULL to get an empty label widget.
|
||||
@ -1639,7 +1639,7 @@ gtk_label_new (const gchar *str)
|
||||
|
||||
/**
|
||||
* gtk_label_new_with_mnemonic:
|
||||
* @str: The text of the label, with an underscore in front of the
|
||||
* @str: (allow-none): The text of the label, with an underscore in front of the
|
||||
* mnemonic character
|
||||
*
|
||||
* Creates a new #GtkLabel, containing the text in @str.
|
||||
|
Loading…
Reference in New Issue
Block a user