diff options
author | Bastien Nocera <hadess@hadess.net> | 2011-06-07 01:34:12 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2011-06-07 01:34:12 +0100 |
commit | 013808e23d719ab6142aee062dbf46d66228c685 (patch) | |
tree | c9bc08bb1d125ad7af2ffb428a7e32b68afdfcb8 | |
parent | 58f5d1f17f771963217682c78c04cfbb7978d199 (diff) | |
download | gnome-settings-daemon-013808e23d719ab6142aee062dbf46d66228c685.tar.gz |
common: Remove tests for removed functions
accelerometer_is_present() is gone.
-rw-r--r-- | plugins/common/test-input-helper.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/common/test-input-helper.c b/plugins/common/test-input-helper.c index 28b40d6f..500c6244 100644 --- a/plugins/common/test-input-helper.c +++ b/plugins/common/test-input-helper.c @@ -34,8 +34,6 @@ int main (int argc, char **argv) gboolean supports_xinput; gboolean has_touchpad, has_touchscreen; XDeviceInfo *device_info; - char *dev_node; - int devid; gint n_devices; guint i; @@ -62,13 +60,6 @@ int main (int argc, char **argv) has_touchscreen = touchscreen_is_present (); g_print ("Has touchscreen:\t\t\t%s\n", has_touchscreen ? "yes" : "no"); - if (accelerometer_is_present (&dev_node, &devid)) { - g_print ("Has accelerometer:\t\t\t%s (%d)\n", dev_node, devid); - g_free (dev_node); - } else { - g_print ("Has accelerometer:\t\t\t%s\n", "no"); - } - device_info = XListInputDevices (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), &n_devices); if (device_info == NULL) { g_warning ("Has no input devices"); |