]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-pixbuf-2.0: Fix regression against PixbufSaveFunc
authorLuca Bruno <lucabru@src.gnome.org>
Tue, 7 Feb 2012 10:07:36 +0000 (11:07 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Tue, 7 Feb 2012 10:07:36 +0000 (11:07 +0100)
The regression was introduced by the switch to gir.

Fixes bug 669518.

vapi/gdk-pixbuf-2.0.vapi
vapi/metadata/GdkPixbuf-2.0-custom.vala

index 7cfe790c20e62bec1381524df3560315e44b10ce..0a0eaacca0c15c897ab2936452359496dbaa85d1 100644 (file)
@@ -221,7 +221,7 @@ namespace Gdk {
        }
        [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
        public delegate void PixbufDestroyNotify ([CCode (array_length = false)] uint8[] pixels);
-       [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", instance_pos = 3.9)]
+       [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", instance_pos = -0.9)]
        public delegate bool PixbufSaveFunc ([CCode (array_length_type = "gsize")] uint8[] buf) throws GLib.Error;
        [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cname = "GDK_PIXBUF_FEATURES_H")]
        public const int PIXBUF_FEATURES_H;
index 6e03f3bfec6c34daa003ff5705e2eb470855ad6b..b9061e0d8368d763387a5c48b3983f20360e2efa 100644 (file)
@@ -17,6 +17,6 @@ namespace Gdk {
 
        [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
        public delegate void PixbufDestroyNotify ([CCode (array_length = false)] uint8[] pixels);
-       [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", instance_pos = 3.9)]
+       [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", instance_pos = -0.9)]
        public delegate bool PixbufSaveFunc ([CCode (array_length_type = "gsize")] uint8[] buf) throws GLib.Error;
 }
\ No newline at end of file