]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-pixbuf-2.0: Fix binding for serialize method
authorMichal Hruby <michal.mhr@gmail.com>
Mon, 14 Mar 2011 01:00:08 +0000 (02:00 +0100)
committerMichal Hruby <michal.mhr@gmail.com>
Mon, 14 Mar 2011 01:00:08 +0000 (02:00 +0100)
vapi/gdk-pixbuf-2.0.vapi
vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata

index 339a2ebc82c27de3e51132be3d561ad7a3c71466..e37f2ad9c920f8c7efab02cbfb4a1c03893803f5 100644 (file)
@@ -158,7 +158,7 @@ namespace Gdk {
                public weak uint8[] pixel_data;
                public bool deserialize ([CCode (array_length_pos = 0.9)] uint8[] stream) throws GLib.Error;
                public void* from_pixbuf (Gdk.Pixbuf pixbuf, bool use_rle);
-               public unowned uint8[] serialize ();
+               public uint8[] serialize ();
                public unowned GLib.StringBuilder to_csource (string name, Gdk.PixdataDumpType dump_type);
        }
        [CCode (cprefix = "GDK_COLORSPACE_", cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
index c016e98f0b2af4b2e6a4e49bdb3ea3935467f9e1..bb8a10d4df693e8d91a3ceb857cd4e1ae8c0174d 100644 (file)
@@ -34,5 +34,5 @@ GdkPixdata is_value_type="1"
 GdkPixdata.pixel_data type_name="uint8" is_array="1"
 gdk_pixdata_deserialize.stream type_name="uint8" is_array="1" array_length_pos="0.9"
 gdk_pixdata_deserialize.stream_length hidden="1"
-gdk_pixdata_serialize type_name="uint8" is_array="1" transfers_ownership="1"
+gdk_pixdata_serialize type_name="uint8" is_array="1" transfer_ownership="1"
 gdk_pixdata_serialize.stream_length_p hidden="1"