summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-data.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-09-18 13:03:14 -0300
committerJohan Dahlin <jdahlin@litl.com>2010-09-18 13:03:14 -0300
commit71e968d2c10db1494c46908ead37ece96b2bbd38 (patch)
treee5ca1d20d3b6c58ea885f6cec203ef73fcedddbd /gdk-pixbuf/gdk-pixbuf-data.c
parent44b6fe4dbcd2a06ee91318dd6e80feb7a54f7262 (diff)
downloadgdk-pixbuf-71e968d2c10db1494c46908ead37ece96b2bbd38.tar.gz
Add introspection annotations
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-data.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-data.c b/gdk-pixbuf/gdk-pixbuf-data.c
index 87af0b9ee..5f4ce8e49 100644
--- a/gdk-pixbuf/gdk-pixbuf-data.c
+++ b/gdk-pixbuf/gdk-pixbuf-data.c
@@ -37,14 +37,14 @@
* @width: Width of the image in pixels, must be > 0
* @height: Height of the image in pixels, must be > 0
* @rowstride: Distance in bytes between row starts
- * @destroy_fn: Function used to free the data when the pixbuf's reference count
+ * @destroy_fn: (scope async): Function used to free the data when the pixbuf's reference count
* drops to zero, or %NULL if the data should not be freed
* @destroy_fn_data: Closure data to pass to the destroy notification function
*
* Creates a new #GdkPixbuf out of in-memory image data. Currently only RGB
* images with 8 bits per sample are supported.
*
- * Return value: A newly-created #GdkPixbuf structure with a reference count of 1.
+ * Return value: (transfer full): A newly-created #GdkPixbuf structure with a reference count of 1.
**/
GdkPixbuf *
gdk_pixbuf_new_from_data (const guchar *data, GdkColorspace colorspace, gboolean has_alpha,