[gtk+] clarify bugfix in 2.14 for gtk_expander_get_label
- From: Cody Russell <bratsche src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+] clarify bugfix in 2.14 for gtk_expander_get_label
- Date: Tue, 7 Apr 2009 12:54:53 -0400 (EDT)
commit 3fb6fbd801f6101fea746c6c21f943777e99e9e6
Author: Björn Lindqvist <bjourne gmail com>
Date: Tue Apr 7 12:54:15 2009 -0400
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.
---
gtk/gtkexpander.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index ebfead7..6866f98 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.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]