[gtk+/events-refactor: 739/1085] Also copy number of axes to device->axes_len.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/events-refactor: 739/1085] Also copy number of axes to device->axes_len.
- Date: Tue, 29 Sep 2009 10:47:41 +0000 (UTC)
commit df12a545362ad79694685ac25fde52daa2048130
Author: Carlos Garnacho <carlos lanedo com>
Date: Sat Aug 15 18:39:17 2009 +0200
Also copy number of axes to device->axes_len.
gdk/gdkdevice.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index 18981c8..19564b2 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -467,6 +467,7 @@ _gdk_device_add_axis (GdkDevice *device,
}
priv->axes = g_array_append_val (priv->axes, axis_info);
+ device->num_axes = priv->axes->len;
return priv->axes->len - 1;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]