diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2011-01-15 11:08:42 +0100 |
---|---|---|
committer | Luca Bruno <lucabru@src.gnome.org> | 2011-01-15 11:08:42 +0100 |
commit | 1a6728cccfa0c638fee3eeb291aa9bbaa2b0d510 (patch) | |
tree | f433f1895dd472b9e8a11fb0456e3ade92317f62 /vapi | |
parent | c0a40628daf30849427dddeeb8c2f3b343bc6d36 (diff) | |
download | vala-1a6728cccfa0c638fee3eeb291aa9bbaa2b0d510.tar.gz |
gdk-2.0, gdk-3.0: Mark EventButton.axes and EventMotion.axes to be an array.
Fixes bug 639570.
Diffstat (limited to 'vapi')
-rw-r--r-- | vapi/gdk-2.0.vapi | 6 | ||||
-rw-r--r-- | vapi/gdk-3.0.vapi | 6 | ||||
-rw-r--r-- | vapi/packages/gdk-2.0/gdk-2.0.metadata | 2 | ||||
-rw-r--r-- | vapi/packages/gdk-3.0/gdk-3.0.metadata | 2 |
4 files changed, 12 insertions, 4 deletions
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" |