[gnome-settings-daemon] lib: Update calls for fake wacom devices
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] lib: Update calls for fake wacom devices
- Date: Sun, 18 Dec 2011 12:14:43 +0000 (UTC)
commit 8a4a3b8120e3231e6f94f77a60a145bed8047532
Author: Bastien Nocera <hadess hadess net>
Date: Sat Dec 17 13:37:53 2011 +0000
lib: Update calls for fake wacom devices
plugins/wacom/gsd-wacom-device.c | 20 +++++++-------------
1 files changed, 7 insertions(+), 13 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-device.c b/plugins/wacom/gsd-wacom-device.c
index 8e35a3d..143c716 100644
--- a/plugins/wacom/gsd-wacom-device.c
+++ b/plugins/wacom/gsd-wacom-device.c
@@ -783,28 +783,25 @@ gsd_wacom_device_create_fake (GsdWacomDeviceType type,
GList *
gsd_wacom_device_create_fake_cintiq (void)
{
-#if 0
GsdWacomDevice *device;
GList *devices;
device = gsd_wacom_device_create_fake (WACOM_TYPE_STYLUS,
- "Wacom Cintiq 21UX2",
+ "Cintiq 21UX2",
"Wacom Cintiq 21UX2 stylus");
devices = g_list_prepend (NULL, device);
device = gsd_wacom_device_create_fake (WACOM_TYPE_ERASER,
- "Wacom Cintiq 21UX2",
+ "Cintiq 21UX2",
"Wacom Cintiq 21UX2 eraser");
devices = g_list_prepend (devices, device);
device = gsd_wacom_device_create_fake (WACOM_TYPE_PAD,
- "Wacom Cintiq 21UX2",
+ "Cintiq 21UX2",
"Wacom Cintiq 21UX2 pad");
devices = g_list_prepend (devices, device);
return devices;
-#endif
- return NULL;
}
GList *
@@ -839,21 +836,18 @@ gsd_wacom_device_create_fake_bt (void)
GList *
gsd_wacom_device_create_fake_x201 (void)
{
-#if 0
GsdWacomDevice *device;
GList *devices;
device = gsd_wacom_device_create_fake (WACOM_TYPE_STYLUS,
- "Serial Wacom Tablet WACf004",
- "Serial Wacom Tablet WACf004 stylus");
+ "Serial Tablet WACf004",
+ "Serial Tablet WACf004 stylus");
devices = g_list_prepend (NULL, device);
device = gsd_wacom_device_create_fake (WACOM_TYPE_ERASER,
- "Serial Wacom Tablet WACf004",
- "Serial Wacom Tablet WACf004 eraser");
+ "Serial Tablet WACf004",
+ "Serial Tablet WACf004 eraser");
devices = g_list_prepend (devices, device);
return devices;
-#endif
- return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]