From: Timm Bäder Date: Fri, 13 Sep 2019 03:53:17 +0000 (+0200) Subject: pixbuf: Add a missing return value transfer annotation X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~857 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f0266cbef3b6563ea54f89e3ec02fbcd71c57c95;p=gtk4.git pixbuf: Add a missing return value transfer annotation And add a (nullable) --- 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)