[gtk+] gtk: Fix return annotation of gtk_selection_data_get_text
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk: Fix return annotation of gtk_selection_data_get_text
- Date: Wed, 20 Aug 2014 06:57:08 +0000 (UTC)
commit e317117f030858c86c39ff968eb2d8ad2459755b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Aug 20 08:54:12 2014 +0200
gtk: Fix return annotation of gtk_selection_data_get_text
gtk/gtkselection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index 380a101..1206b68 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -1597,7 +1597,7 @@ gtk_selection_data_set_text (GtkSelectionData *selection_data,
*
* 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
* allocated string containing the converted text, otherwise %NULL.
* If the result is non-%NULL it must be freed with g_free().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]