]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-2.0: Fix Gdk.Device.get_axis binding.
authorEvan Nemerson <evan@coeus-group.com>
Sun, 1 Nov 2009 03:39:11 +0000 (20:39 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 7 Nov 2009 19:42:54 +0000 (11:42 -0800)
Fixes bug 598834.

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

index 56e512e3aea414ec9bc531364c50dd5c75b4947d..08cfcf8b4c3edbb25dc8ecb547788019d1b89ef1 100644 (file)
@@ -66,7 +66,7 @@ namespace Gdk {
                public int num_keys;
                public Gdk.InputSource source;
                public static void free_history (Gdk.TimeCoord[] events);
-               public bool get_axis (double axes, Gdk.AxisUse use, double value);
+               public bool get_axis ([CCode (array_length = false)] double[] axes, Gdk.AxisUse use, out double value);
                public static unowned Gdk.Device get_core_pointer ();
                public bool get_history (Gdk.Window window, uint32 start, uint32 stop, Gdk.TimeCoord[] events);
                public void get_state (Gdk.Window window, double axes, Gdk.ModifierType mask);
index a824cd0b7f07d34d3433c78fac71d9d248220915..513a81ded6a9b049d9118a718d50823641b01570 100644 (file)
@@ -14,6 +14,8 @@ GdkCursor is_value_type="0"
 GdkDestroyNotify has_target="0"
 GdkDevice.axes is_array="1"
 GdkDevice.keys is_array="1"
+gdk_device_get_axis.axes is_array="1" no_array_length="1"
+gdk_device_get_axis.value is_out="1"
 GdkDeviceAxis is_value_type="1"
 GdkDeviceClass hidden="1"
 GdkDeviceKey is_value_type="1"