[vala/0.10] gdk-2.0: Mark EventButton.axes and EventMotion.axes to be an array.
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] gdk-2.0: Mark EventButton.axes and EventMotion.axes to be an array.
- Date: Sat, 22 Jan 2011 10:13:48 +0000 (UTC)
commit 1175f02b84f92cfb0c6f90eba1dd3473620e6854
Author: Luca Bruno <lucabru src gnome org>
Date: Sat Jan 15 11:08:42 2011 +0100
gdk-2.0: Mark EventButton.axes and EventMotion.axes to be an array.
Fixes bug 639570.
vapi/gdk-2.0.vapi | 6 ++++--
vapi/packages/gdk-2.0/gdk-2.0.metadata | 2 ++
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi
index 567520a..14da3a7 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -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;
diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata
index f8f0ee6..e2ceabd 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0.metadata
+++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata
@@ -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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]