[vala] gdk-pixbuf-2.0: Rename take_data to with_unowned_data
- From: Michal Hruby <mhruby src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gdk-pixbuf-2.0: Rename take_data to with_unowned_data
- Date: Mon, 28 May 2012 19:35:41 +0000 (UTC)
commit 5037a7ca9dcadbfc6121e776a26b87a2571551bf
Author: Michal Hruby <michal mhr gmail com>
Date: Mon May 28 21:35:06 2012 +0200
gdk-pixbuf-2.0: Rename take_data to with_unowned_data
vapi/gdk-pixbuf-2.0.vapi | 2 +-
vapi/metadata/GdkPixbuf-2.0-custom.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index ee919cd..d33d9f4 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -68,7 +68,7 @@ namespace Gdk {
[CCode (has_construct_function = false)]
public Pixbuf.subpixbuf (Gdk.Pixbuf src_pixbuf, int src_x, int src_y, int width, int height);
[CCode (cname = "gdk_pixbuf_new_from_data", has_construct_function = false)]
- public Pixbuf.take_data ([CCode (array_length = false)] uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (type = "GdkPixbufDestroyNotify")] Gdk.PixbufDestroyNotify? destroy_fn = null);
+ public Pixbuf.with_unowned_data ([CCode (array_length = false)] uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (type = "GdkPixbufDestroyNotify")] Gdk.PixbufDestroyNotify? destroy_fn = null);
public int bits_per_sample { get; construct; }
public Gdk.Colorspace colorspace { get; construct; }
public bool has_alpha { get; construct; }
diff --git a/vapi/metadata/GdkPixbuf-2.0-custom.vala b/vapi/metadata/GdkPixbuf-2.0-custom.vala
index 30c84a3..061b70a 100644
--- a/vapi/metadata/GdkPixbuf-2.0-custom.vala
+++ b/vapi/metadata/GdkPixbuf-2.0-custom.vala
@@ -3,7 +3,7 @@ namespace Gdk {
[CCode (has_construct_function = false)]
public Pixbuf.from_data ([CCode (array_length = false)] owned uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (type = "GdkPixbufDestroyNotify")] Gdk.PixbufDestroyNotify? destroy_fn = GLib.free);
[CCode (has_construct_function = false, cname = "gdk_pixbuf_new_from_data")]
- public Pixbuf.take_data ([CCode (array_length = false)] uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (type = "GdkPixbufDestroyNotify")] Gdk.PixbufDestroyNotify? destroy_fn = null);
+ public Pixbuf.with_unowned_data ([CCode (array_length = false)] uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (type = "GdkPixbufDestroyNotify")] Gdk.PixbufDestroyNotify? destroy_fn = null);
[CCode (cname = "gdk_pixbuf_new_from_stream_async", finish_name = "gdk_pixbuf_new_from_stream_finish")]
public static async Gdk.Pixbuf new_from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cname = "gdk_pixbuf_new_from_stream_at_scale_async", finish_name = "gdk_pixbuf_new_from_stream_finish")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]