From e18a4fa047b6b8c0cf8aab251fc661e38b2b5352 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 23 May 2009 01:20:39 -0400 Subject: [PATCH] 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 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index eb669a031a..555418a19f 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 * #GtkComboBoxEntrys. * * Returns: a newly allocated string containing the currently active text. + * Must be freed with g_free(). * * Since: 2.6 */