summaryrefslogtreecommitdiff
path: root/gtk/gtkexpander.c
diff options
context:
space:
mode:
authorBjörn Lindqvist <bjourne@gmail.com>2009-04-07 12:54:15 -0400
committerCody Russell <bratsche@gnome.org>2009-04-07 12:54:15 -0400
commit3fb6fbd801f6101fea746c6c21f943777e99e9e6 (patch)
treececd2b7455e46e76be09f3c55ded426804834801 /gtk/gtkexpander.c
parentdec55c311b8511a9538953a349d8784a2108045b (diff)
downloadgtk+-3fb6fbd801f6101fea746c6c21f943777e99e9e6.tar.gz
clarify bugfix in 2.14 for gtk_expander_get_label
Updated documentation for gtk_expander_get_label to clarify that it was changed in 2.14.
Diffstat (limited to 'gtk/gtkexpander.c')
-rw-r--r--gtk/gtkexpander.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index ebfead7aa4..6866f982c9 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -1538,6 +1538,12 @@ gtk_expander_set_label (GtkExpander *expander,
* 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.
*
+ * Note that this function behaved differently in versions prior to
+ * 2.14 and used to return the label text stripped of embedded
+ * underlines indicating mnemonics and Pango markup. This problem can
+ * be avoided by fetching the label text directly from the label
+ * widget.
+ *
* Return value: The text of the label widget. This string is owned
* by the widget and must not be modified or freed.
*