From: Luca Bruno Date: Tue, 7 Feb 2012 10:07:36 +0000 (+0100) Subject: gdk-pixbuf-2.0: Fix regression against PixbufSaveFunc X-Git-Tag: 0.15.2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8065beecc14a83568738c9de85edcad7a2275b59;p=thirdparty%2Fvala.git gdk-pixbuf-2.0: Fix regression against PixbufSaveFunc The regression was introduced by the switch to gir. Fixes bug 669518. --- diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi index 7cfe790c2..0a0eaacca 100644 --- a/vapi/gdk-pixbuf-2.0.vapi +++ b/vapi/gdk-pixbuf-2.0.vapi @@ -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; diff --git a/vapi/metadata/GdkPixbuf-2.0-custom.vala b/vapi/metadata/GdkPixbuf-2.0-custom.vala index 6e03f3bfe..b9061e0d8 100644 --- a/vapi/metadata/GdkPixbuf-2.0-custom.vala +++ b/vapi/metadata/GdkPixbuf-2.0-custom.vala @@ -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