[gtk+] Improve gtk_combo_box_get_active_text() docs
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+] Improve gtk_combo_box_get_active_text() docs
- Date: Sat, 23 May 2009 01:21:34 -0400 (EDT)
commit e18a4fa047b6b8c0cf8aab251fc661e38b2b5352
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 23 01:20:39 2009 -0400
Improve gtk_combo_box_get_active_text() docs
Make it more explicit that the return value needs to be freed.
Fixes bug 583050.
---
gtk/gtkcombobox.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index eb669a0..555418a 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -5251,10 +5251,11 @@ gtk_combo_box_remove_text (GtkComboBox *combo_box,
*
* Returns the currently active string in @combo_box or %NULL if none
* is selected. Note that you can only use this function with combo
- * boxes constructed with gtk_combo_box_new_text() and with
+ * boxes constructed with gtk_combo_box_new_text() and with
* #GtkComboBoxEntry<!-- -->s.
*
* Returns: a newly allocated string containing the currently active text.
+ * Must be freed with g_free().
*
* Since: 2.6
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]