[gnome-settings-daemon] common: Update test-input-helper for API changes



commit eeeb88df6356d8594eebe998c4339a92e5db13f3
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Oct 31 16:13:42 2011 +0000

    common: Update test-input-helper for API changes

 plugins/common/test-input-helper.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/common/test-input-helper.c b/plugins/common/test-input-helper.c
index bbdd30b..d7770b0 100644
--- a/plugins/common/test-input-helper.c
+++ b/plugins/common/test-input-helper.c
@@ -56,7 +56,7 @@ int main (int argc, char **argv)
 	gboolean supports_xinput;
 	gboolean has_touchpad, has_touchscreen;
         XDeviceInfo *device_info;
-        gint n_devices;
+        gint n_devices, opcode;
         guint i;
 
 	gtk_init (&argc, &argv);
@@ -68,9 +68,9 @@ int main (int argc, char **argv)
 		g_print ("Supports XInput:\t\t\tno\n");
 		return 0;
 	}
-	supports_xinput = supports_xinput2_devices ();
+	supports_xinput = supports_xinput2_devices (&opcode);
 	if (supports_xinput) {
-		g_print ("Supports XInput2:\t\t\tyes\n");
+		g_print ("Supports XInput2:\t\t\tyes (opcode: %d)\n", opcode);
 	} else {
 		g_print ("Supports XInput2:\t\t\tno\n");
 		return 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]