From: Luca Bruno Date: Sat, 15 Jan 2011 10:08:42 +0000 (+0100) Subject: gdk-2.0, gdk-3.0: Mark EventButton.axes and EventMotion.axes to be an array. X-Git-Tag: 0.11.4~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a6728cccfa0c638fee3eeb291aa9bbaa2b0d510;p=thirdparty%2Fvala.git gdk-2.0, gdk-3.0: Mark EventButton.axes and EventMotion.axes to be an array. Fixes bug 639570. --- diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi index 5f0691183..53befcab1 100644 --- a/vapi/gdk-2.0.vapi +++ b/vapi/gdk-2.0.vapi @@ -772,7 +772,8 @@ namespace Gdk { public uint32 time; public double x; public double y; - public double axes; + [CCode (array_length = false)] + public weak double[] axes; public Gdk.ModifierType state; public uint button; public weak Gdk.Device device; @@ -872,7 +873,8 @@ namespace Gdk { public uint32 time; public double x; public double y; - public double axes; + [CCode (array_length = false)] + public weak double[] axes; public Gdk.ModifierType state; public bool is_hint; public weak Gdk.Device device; diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi index 55216314d..f18a3f870 100644 --- a/vapi/gdk-3.0.vapi +++ b/vapi/gdk-3.0.vapi @@ -565,7 +565,8 @@ namespace Gdk { public uint32 time; public double x; public double y; - public double axes; + [CCode (array_length = false)] + public weak double[] axes; public Gdk.ModifierType state; public uint button; public weak Gdk.Device device; @@ -665,7 +666,8 @@ namespace Gdk { public uint32 time; public double x; public double y; - public double axes; + [CCode (array_length = false)] + public weak double[] axes; public Gdk.ModifierType state; public bool is_hint; public weak Gdk.Device device; diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata index 2a80a5772..f9c332d4f 100644 --- a/vapi/packages/gdk-2.0/gdk-2.0.metadata +++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata @@ -39,9 +39,11 @@ gdk_draw_rgb*_image*.rgb_buf no_array_length="1" gdk_gc_get_values.values is_out="1" GdkEvent is_value_type="0" GdkEvent* is_value_type="1" has_type_id="0" +GdkEventButton.axes is_array="1" GdkEventButton.state type_name="ModifierType" GdkEventCrossing.state type_name="ModifierType" GdkEventKey.state type_name="ModifierType" +GdkEventMotion.axes is_array="1" GdkEventMotion.is_hint type_name="bool" GdkEventMotion.state type_name="ModifierType" GdkEventProperty.state type_name="PropertyState" diff --git a/vapi/packages/gdk-3.0/gdk-3.0.metadata b/vapi/packages/gdk-3.0/gdk-3.0.metadata index f062e6992..bfd7b906b 100644 --- a/vapi/packages/gdk-3.0/gdk-3.0.metadata +++ b/vapi/packages/gdk-3.0/gdk-3.0.metadata @@ -38,9 +38,11 @@ gdk_draw_rgb*_image*.rgb_buf no_array_length="1" gdk_gc_get_values.values is_out="1" GdkEvent is_value_type="0" GdkEvent* is_value_type="1" has_type_id="0" +GdkEventButton.axes is_array="1" GdkEventButton.state type_name="ModifierType" GdkEventCrossing.state type_name="ModifierType" GdkEventKey.state type_name="ModifierType" +GdkEventMotion.axes is_array="1" GdkEventMotion.is_hint type_name="bool" GdkEventMotion.state type_name="ModifierType" GdkEventProperty.state type_name="PropertyState"