summaryrefslogtreecommitdiff
path: root/gtk/gtkaction.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-12-31 04:14:28 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-12-31 04:14:28 +0000
commitb9d63db0bbcb90ac066740ad2926a69e2400a260 (patch)
treed0fc360b3dab5b19ab5a277e800f8c66daf255a2 /gtk/gtkaction.c
parente43f1bd251919873771ee99a7a29d296b4101525 (diff)
downloadgtk+-b9d63db0bbcb90ac066740ad2926a69e2400a260.tar.gz
Improve the docs of the "label" property. (#341730, Kristof Vansant)
2006-12-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaction.c: Improve the docs of the "label" property. (#341730, Kristof Vansant) svn path=/trunk/; revision=16988
Diffstat (limited to 'gtk/gtkaction.c')
-rw-r--r--gtk/gtkaction.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkaction.c b/gtk/gtkaction.c
index 8c89b61138..5307363db2 100644
--- a/gtk/gtkaction.c
+++ b/gtk/gtkaction.c
@@ -193,6 +193,14 @@ gtk_action_class_init (GtkActionClass *klass)
NULL,
GTK_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
+
+ /**
+ * GtkAction:label:
+ *
+ * The label used for menu items and buttons that activate
+ * this action. If the label is %NULL, GTK+ uses the stock
+ * label specified via the stock-id property.
+ */
g_object_class_install_property (gobject_class,
PROP_LABEL,
g_param_spec_string ("label",