diff options
author | Ting-Wei Lan <lantw@src.gnome.org> | 2015-01-21 19:57:10 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw@src.gnome.org> | 2015-01-21 19:57:10 +0800 |
commit | 95a0e0e60b5c99fb09b9d6f8ce5ae89ad974f7d4 (patch) | |
tree | 0236449c38efdb7ccc5e1ad449c143e80a4485ac | |
parent | c5daf94cc073a3c6be7c29c78d3c0475b0b702c4 (diff) | |
download | gnome-settings-daemon-95a0e0e60b5c99fb09b9d6f8ce5ae89ad974f7d4.tar.gz |
build: Fix build problem when wacom is not available
https://bugzilla.gnome.org/show_bug.cgi?id=742593
-rw-r--r-- | plugins/common/gsd-device-mapper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/common/gsd-device-mapper.c b/plugins/common/gsd-device-mapper.c index d5ba6ecc..ce70fd02 100644 --- a/plugins/common/gsd-device-mapper.c +++ b/plugins/common/gsd-device-mapper.c @@ -654,10 +654,11 @@ mapper_recalculate_input (GsdDeviceMapper *mapper, static void input_info_update_capabilities (GsdInputInfo *info) { + GsdDeviceType type; + #if HAVE_WACOM WacomDevice *wacom_device; const gchar *devpath; - GsdDeviceType type; info->capabilities = 0; devpath = gsd_device_get_device_file (info->device); |