[gtk+] frame: annotate the @label params with (allow-none)
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] frame: annotate the @label params with (allow-none)
- Date: Thu, 29 Aug 2013 09:39:52 +0000 (UTC)
commit d4679c0a13cc74cd1f401422c8f153b3a98070fe
Author: Stefan Sauer <ensonic users sf net>
Date: Thu Aug 29 09:06:31 2013 +0200
frame: annotate the @label params with (allow-none)
gtk/gtkaspectframe.c | 2 +-
gtk/gtkframe.c | 2 +-
gtk/gtklabel.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c
index e9e7636..f684733 100644
--- a/gtk/gtkaspectframe.c
+++ b/gtk/gtkaspectframe.c
@@ -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)
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index e5c1aad..dbb93b3 100644
--- a/gtk/gtkframe.c
+++ b/gtk/gtkframe.c
@@ -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.
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index d5deb57..d0b1643 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]