[vala] gdk-2.0, gdk-3.0: Mark EventButton.axes and EventMotion.axes to be an array.
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gdk-2.0, gdk-3.0: Mark EventButton.axes and EventMotion.axes to be an array.
- Date: Sat, 15 Jan 2011 10:09:35 +0000 (UTC)
commit 1a6728cccfa0c638fee3eeb291aa9bbaa2b0d510
Author: Luca Bruno <lucabru src gnome org>
Date: Sat Jan 15 11:08:42 2011 +0100
gdk-2.0, gdk-3.0: Mark EventButton.axes and EventMotion.axes to be an array.
Fixes bug 639570.
vapi/gdk-2.0.vapi | 6 ++++--
vapi/gdk-3.0.vapi | 6 ++++--
vapi/packages/gdk-2.0/gdk-2.0.metadata | 2 ++
vapi/packages/gdk-3.0/gdk-3.0.metadata | 2 ++
4 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi
index 5f06911..53befca 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -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;
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 5521631..f18a3f8 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -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;
diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata
index 2a80a57..f9c332d 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0.metadata
+++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata
@@ -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"
diff --git a/vapi/packages/gdk-3.0/gdk-3.0.metadata b/vapi/packages/gdk-3.0/gdk-3.0.metadata
index f062e69..bfd7b90 100644
--- a/vapi/packages/gdk-3.0/gdk-3.0.metadata
+++ b/vapi/packages/gdk-3.0/gdk-3.0.metadata
@@ -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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]