[vala] gdk-2.0: Fix Gdk.Device.get_axis binding.
- From: Evan Nemerson <evann src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] gdk-2.0: Fix Gdk.Device.get_axis binding.
- Date: Sat, 7 Nov 2009 19:43:50 +0000 (UTC)
commit 268e82fb1ce3ea6d2be1603887b0967ae6c99b3b
Author: Evan Nemerson <evan coeus-group com>
Date: Sat Oct 31 20:39:11 2009 -0700
gdk-2.0: Fix Gdk.Device.get_axis binding.
Fixes bug 598834.
vapi/gdk-2.0.vapi | 2 +-
vapi/packages/gdk-2.0/gdk-2.0.metadata | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi
index 56e512e..08cfcf8 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -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);
diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata
index a824cd0..513a81d 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0.metadata
+++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata
@@ -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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]