summaryrefslogtreecommitdiff
path: root/gtk/gtkexpander.c
diff options
context:
space:
mode:
authorBjörn Lindqvist <bjourne@gmail.com>2008-03-22 01:27:07 +0000
committerBjörn Lindqvist <bjornl@src.gnome.org>2008-03-22 01:27:07 +0000
commit9aaece8479a7a398a9a5d9ea0eb5458330bf5ec7 (patch)
treeabddfdb53b346ed2cf0d182e10ce22de94d8ee42 /gtk/gtkexpander.c
parent029511a7566dd41c0b0ca8cebceae37fa6daddff (diff)
downloadgtk+-9aaece8479a7a398a9a5d9ea0eb5458330bf5ec7.tar.gz
gtk_label_get_label() should be used instead of gtk_label_get_text().
2008-03-22 Björn Lindqvist <bjourne@gmail.com> * gtk/gtkexpander.c (gtk_expander_get_label): gtk_label_get_label() should be used instead of gtk_label_get_text(). (#353088, Xan Lopez) svn path=/trunk/; revision=19920
Diffstat (limited to 'gtk/gtkexpander.c')
-rw-r--r--gtk/gtkexpander.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index 3172fdb24f..cb8e53f0f3 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -1532,11 +1532,11 @@ gtk_expander_set_label (GtkExpander *expander,
* gtk_expander_get_label:
* @expander: a #GtkExpander
*
- * Fetches the text from the label of the expander, as set by
- * gtk_expander_set_label(). If the label text has not
- * been set the return value will be %NULL. This will be the
- * case if you create an empty button with gtk_button_new() to
- * use as a container.
+ * Fetches the text from a label widget including any embedded
+ * underlines indicating mnemonics and Pango markup, as set by
+ * gtk_expander_set_label(). If the label text has not been set the
+ * return value will be %NULL. This will be the case if you create an
+ * empty button with gtk_button_new() to use as a container.
*
* Return value: The text of the label widget. This string is owned
* by the widget and must not be modified or freed.
@@ -1553,7 +1553,7 @@ gtk_expander_get_label (GtkExpander *expander)
priv = expander->priv;
if (GTK_IS_LABEL (priv->label_widget))
- return gtk_label_get_text (GTK_LABEL (priv->label_widget));
+ return gtk_label_get_label (GTK_LABEL (priv->label_widget));
else
return NULL;
}