gtk: Fix return annotation of gtk_selection_data_get_text

This commit is contained in:
Rico Tzschichholz 2014-08-20 08:54:12 +02:00
parent bdaf5c8f8b
commit e317117f03

View File

@ -1597,7 +1597,7 @@ gtk_selection_data_set_text (GtkSelectionData *selection_data,
* *
* Gets the contents of the selection data as a UTF-8 string. * Gets the contents of the selection data as a UTF-8 string.
* *
* Returns: (type utf8): if the selection data contained a * Returns: (type utf8) (nullable) (transfer full): if the selection data contained a
* recognized text type and it could be converted to UTF-8, a newly * recognized text type and it could be converted to UTF-8, a newly
* allocated string containing the converted text, otherwise %NULL. * allocated string containing the converted text, otherwise %NULL.
* If the result is non-%NULL it must be freed with g_free(). * If the result is non-%NULL it must be freed with g_free().