[vala] gdk-pixbuf-2.0: Fix gdk_pixbuf_copy binding
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] gdk-pixbuf-2.0: Fix gdk_pixbuf_copy binding
- Date: Thu, 7 May 2009 09:58:27 -0400 (EDT)
commit 6735572a0e5b75999d31f19fe8f30ec82911b8ad
Author: Evan Nemerson <evan polussystems com>
Date: Mon May 4 22:52:49 2009 -0700
gdk-pixbuf-2.0: Fix gdk_pixbuf_copy binding
Make Gdk.Pixbuf.copy() transfer ownership. Based on patch by Qball Cow,
fixes bug 581367.
---
vapi/gdk-pixbuf-2.0.vapi | 2 +-
.../gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index 3b900b3..d61c0c9 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -9,7 +9,7 @@ namespace Gdk {
public void composite (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type, int overall_alpha);
public void composite_color (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type, int overall_alpha, int check_x, int check_y, int check_size, uint32 color1, uint32 color2);
public unowned Gdk.Pixbuf composite_color_simple (int dest_width, int dest_height, Gdk.InterpType interp_type, int overall_alpha, int check_size, uint32 color1, uint32 color2);
- public unowned Gdk.Pixbuf copy ();
+ public Gdk.Pixbuf copy ();
public void copy_area (int src_x, int src_y, int width, int height, Gdk.Pixbuf dest_pixbuf, int dest_x, int dest_y);
public static GLib.Quark error_quark ();
public void fill (uint32 pixel);
diff --git a/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata b/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
index 0ff65db..6ad80be 100644
--- a/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
+++ b/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
@@ -1,4 +1,5 @@
Gdk cheader_filename="gdk-pixbuf/gdk-pixdata.h"
+gdk_pixbuf_copy transfer_ownership="1"
gdk_pixbuf_get_file_info.width is_out="1"
gdk_pixbuf_get_file_info.height is_out="1"
gdk_pixbuf_get_pixels no_array_length="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]