projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
519967c
)
pixbuf: Add a missing return value transfer annotation
author
Timm Bäder
<mail@baedert.org>
Fri, 13 Sep 2019 03:53:17 +0000
(
05:53
+0200)
committer
Timm Bäder
<mail@baedert.org>
Fri, 13 Sep 2019 09:07:56 +0000
(11:07 +0200)
And add a (nullable)
gdk/gdkpixbuf-drawable.c
patch
|
blob
|
history
diff --git
a/gdk/gdkpixbuf-drawable.c
b/gdk/gdkpixbuf-drawable.c
index 8bc31ba4beeaa8fe78d4597c39879598de5adf05..e90edc1f20b221109ed411333799a190f405f30b 100644
(file)
--- 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)