Commit 6735572a authored by Evan Nemerson's avatar Evan Nemerson Committed by Jürg Billeter

gdk-pixbuf-2.0: Fix gdk_pixbuf_copy binding

Make Gdk.Pixbuf.copy() transfer ownership. Based on patch by Qball Cow,
fixes bug 581367.
parent 3aa93caf
......@@ -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);
......
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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment