[gtk+/wip/events: 17/19] gdk: Add debug printout for adding axes
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/events: 17/19] gdk: Add debug printout for adding axes
- Date: Tue, 13 Mar 2012 01:19:36 +0000 (UTC)
commit d2063a627e15eaa83ef0ef031dabdcfdc44f552d
Author: Benjamin Otte <otte redhat com>
Date: Mon Mar 12 17:28:58 2012 +0100
gdk: Add debug printout for adding axes
gdk/gdkdevice.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index 090236f..7fb91d5 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -1395,6 +1395,9 @@ _gdk_device_add_axis (GdkDevice *device,
GdkAxisInfo axis_info;
guint pos;
+ GDK_NOTE (INPUT, g_print ("Adding axis '%s' with use %d for range [%g, %g] with %gunits/m\n",
+ label_string, use, min_value, max_value, resolution));
+
axis_info.use = use;
axis_info.label = label_atom;
axis_info.label_string = g_strdup (label_string);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]