[gnome-settings-daemon] wacom: Use new supports_xtest() function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: Use new supports_xtest() function
- Date: Mon, 21 Jan 2013 17:02:23 +0000 (UTC)
commit 7212c41481b7e3797b56fae9a141a5948caf9f8a
Author: Bastien Nocera <hadess hadess net>
Date: Sat Jan 19 01:44:40 2013 +0100
wacom: Use new supports_xtest() function
plugins/wacom/gsd-wacom-manager.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index b26bd41..3d16a49 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -1441,8 +1441,6 @@ gboolean
gsd_wacom_manager_start (GsdWacomManager *manager,
GError **error)
{
- int a, b, c, d;
-
gnome_settings_profile_start (NULL);
if (supports_xinput2_devices (&manager->priv->opcode) == FALSE) {
@@ -1450,7 +1448,7 @@ gsd_wacom_manager_start (GsdWacomManager *manager,
return TRUE;
}
- if (!XTestQueryExtension (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), &a, &b, &c, &d)) {
+ if (supports_xtest () == FALSE) {
g_debug ("No XTest extension support, disabling plugin");
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]