[vala] gdk-2.0: Fix gdk_property_change binding



commit ebf215032d5f169d684a1609a2d8705d61d4fb63
Author: Evan Nemerson <evan polussystems com>
Date:   Wed Jul 8 21:01:48 2009 -0700

    gdk-2.0: Fix gdk_property_change binding
    
    The data parameter to gdk_property_change should not include array
    length, fixes bug 583235.

 vapi/gdk-2.0.vapi                      |    2 +-
 vapi/packages/gdk-2.0/gdk-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi
index 175fcc4..b7ead5e 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -1716,7 +1716,7 @@ namespace Gdk {
 	[CCode (cheader_filename = "gdk/gdk.h")]
 	public static void pre_parse_libgtk_only ();
 	[CCode (cheader_filename = "gdk/gdk.h")]
-	public static void property_change (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, int format, Gdk.PropMode mode, uchar[] data, int nelements);
+	public static void property_change (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, int format, Gdk.PropMode mode, [CCode (array_length = false)] uchar[] data, int nelements);
 	[CCode (cheader_filename = "gdk/gdk.h")]
 	public static void property_delete (Gdk.Window window, Gdk.Atom property);
 	[CCode (cheader_filename = "gdk/gdk.h")]
diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata
index 829ac5a..8877b72 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0.metadata
+++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata
@@ -69,6 +69,7 @@ gdk_pixmap_new.drawable nullable="1"
 GdkPoint is_value_type="1"
 gdk_pointer_grab.confine_to nullable="1"
 gdk_pointer_grab.cursor nullable="1"
+gdk_property_change.data no_array_length="1"
 gdk_property_get.actual_property_type is_out="1"
 GdkRectangle is_value_type="1"
 gdk_rectangle_union.dest is_out="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]