[gtk/wip/baedert/for-master: 3/5] pixbuf: Add a missing return value transfer annotation
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 3/5] pixbuf: Add a missing return value transfer annotation
- Date: Fri, 13 Sep 2019 08:56:27 +0000 (UTC)
commit 382fa653de05b09ac03bee79a251cd97959b780c
Author: Timm Bäder <mail baedert org>
Date: Fri Sep 13 05:53:17 2019 +0200
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]