diff options
author | Björn Lindqvist <bjourne@gmail.com> | 2009-04-07 12:54:15 -0400 |
---|---|---|
committer | Cody Russell <bratsche@gnome.org> | 2009-04-07 12:54:15 -0400 |
commit | 3fb6fbd801f6101fea746c6c21f943777e99e9e6 (patch) | |
tree | cecd2b7455e46e76be09f3c55ded426804834801 /gtk/gtkexpander.c | |
parent | dec55c311b8511a9538953a349d8784a2108045b (diff) | |
download | gtk+-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.c | 6 |
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. * |