]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-2.0: Mark EventButton.axes and EventMotion.axes to be an array.
authorLuca Bruno <lucabru@src.gnome.org>
Sat, 15 Jan 2011 10:08:42 +0000 (11:08 +0100)
committerJürg Billeter <j@bitron.ch>
Sat, 22 Jan 2011 10:04:21 +0000 (11:04 +0100)
Fixes bug 639570.

vapi/gdk-2.0.vapi
vapi/packages/gdk-2.0/gdk-2.0.metadata

index 567520a10e1bc2f098dad95db80c1b49e75deeae..14da3a7f5f04aa70b47d9375b718810938598beb 100644 (file)
@@ -741,7 +741,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;
@@ -841,7 +842,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;
index f8f0ee6ddae80f2936407d3a148a4b6f03eecd5d..e2ceabd5c1677d684e1b1e0de74f8023886c05db 100644 (file)
@@ -40,9 +40,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"