summaryrefslogtreecommitdiff
path: root/gtk/gtkselection.c
diff options
context:
space:
mode:
authorEvan Nemerson <evan@nemerson.com>2014-05-26 09:13:02 -0700
committerEvan Nemerson <evan@nemerson.com>2014-05-30 13:24:20 -0700
commit54ec42f035d7b3d47968eecce30659a23e7b3e48 (patch)
tree71f244ce8d41bf0f71626d204b24c53f8e596f0b /gtk/gtkselection.c
parent4d1930cf74e99e346ec1b2bd31421e863e271358 (diff)
downloadgtk+-54ec42f035d7b3d47968eecce30659a23e7b3e48.tar.gz
gtk: port many nullability annotation fixes from Vala bindings
https://bugzilla.gnome.org/show_bug.cgi?id=730745
Diffstat (limited to 'gtk/gtkselection.c')
-rw-r--r--gtk/gtkselection.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index e06652111c..17f0365e3f 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -1714,10 +1714,11 @@ gtk_selection_data_set_pixbuf (GtkSelectionData *selection_data,
*
* Gets the contents of the selection data as a #GdkPixbuf.
*
- * Returns: (transfer full): if the selection data contained a recognized
- * image type and it could be converted to a #GdkPixbuf, a
- * newly allocated pixbuf is returned, otherwise %NULL.
- * If the result is non-%NULL it must be freed with g_object_unref().
+ * Returns: (nullable) (transfer full): if the selection data
+ * contained a recognized image type and it could be converted to a
+ * #GdkPixbuf, a newly allocated pixbuf is returned, otherwise
+ * %NULL. If the result is non-%NULL it must be freed with
+ * g_object_unref().
*
* Since: 2.6
**/