From f0266cbef3b6563ea54f89e3ec02fbcd71c57c95 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Fri, 13 Sep 2019 05:53:17 +0200 Subject: [PATCH] pixbuf: Add a missing return value transfer annotation And add a (nullable) --- gdk/gdkpixbuf-drawable.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gdk/gdkpixbuf-drawable.c b/gdk/gdkpixbuf-drawable.c index 8bc31ba4be..e90edc1f20 100644 --- a/gdk/gdkpixbuf-drawable.c +++ b/gdk/gdkpixbuf-drawable.c @@ -232,7 +232,8 @@ gdk_pixbuf_get_from_surface (cairo_surface_t *surface, * in newly written code as later stages will almost certainly convert * the pixbuf back into a texture to draw it on screen. * - * returns: a new #GdkPixbuf + * Returns: (transfer full) (nullable): a new #GdkPixbuf or %NULL + * in case of an error */ GdkPixbuf * gdk_pixbuf_get_from_texture (GdkTexture *texture) -- 2.30.2