Improve gtk_combo_box_get_active_text() docs

Make it more explicit that the return value needs to be freed.
Fixes bug 583050.
This commit is contained in:
Matthias Clasen 2009-05-23 01:20:39 -04:00
parent bd84d95e63
commit e18a4fa047

View File

@ -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
*/