forked from AuroraMiddleware/gtk
pixbuf: Add a missing return value transfer annotation
And add a (nullable)
This commit is contained in:
parent
519967cc69
commit
f0266cbef3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user