]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-2.0, gdk-3.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)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 15 Jan 2011 10:08:42 +0000 (11:08 +0100)
Fixes bug 639570.

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

index 5f069118321d0b107615932a15d6257c72915c51..53befcab102c782627b1cde78cfe526af5428452 100644 (file)
@@ -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;
index 55216314db8576c0b87b35919a7a06c8cfcb082d..f18a3f8708707896e4b0c8682498188c97081e08 100644 (file)
@@ -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;
index 2a80a5772048cc41b063aff1c618e72e75259430..f9c332d4f2115a203a65d2d45a37f5a1fbf06c8c 100644 (file)
@@ -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"
index f062e6992a538db603c47b475595ee3beb3d634c..bfd7b906b5d8da639d230fdddcbc359cbace0455 100644 (file)
@@ -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"