Commit f0266cbe authored by Timm Bäder's avatar Timm Bäder 👎

pixbuf: Add a missing return value transfer annotation

And add a (nullable)
parent 519967cc
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment