[gnome-settings-daemon] build: Fix build problem when wacom is not available



commit 95a0e0e60b5c99fb09b9d6f8ce5ae89ad974f7d4
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Wed Jan 21 19:57:10 2015 +0800

    build: Fix build problem when wacom is not available
    
    https://bugzilla.gnome.org/show_bug.cgi?id=742593

 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 d5ba6ec..ce70fd0 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);


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