]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
pixman-1: fix Image ref and unref functions
authorEvan Nemerson <evan@coeus-group.com>
Mon, 7 Feb 2011 14:25:48 +0000 (06:25 -0800)
committerEvan Nemerson <evan@coeus-group.com>
Mon, 7 Feb 2011 14:26:03 +0000 (06:26 -0800)
vapi/pixman-1.vapi

index baa74722ce2d13b4acd65009f6bd8ba3c1458300..b1633b40b3f53eb56877dcfa0300bd7101476227 100644 (file)
@@ -404,7 +404,7 @@ namespace Pixman {
                public bool supported_source ();
        }
 
-       [CCode (cname = "pixman_image_t", cprefix = "pixman_", has_type_id = false)]
+       [CCode (cname = "pixman_image_t", cprefix = "pixman_", ref_function = "pixman_image_ref", unref_function = "pixman_image_unref", has_type_id = false)]
        public class Image {
                [CCode (cname = "pixman_image_create_solid_fill")]
                public Image.solid_fill (Pixman.Color color);