[gvfs/wip/inigomartinez/meson: 7/11] mtp: Remove redundant ifdefs



commit b19c10095ab106ef6105bda45d3794c7fc8fd91c
Author: Ondrej Holy <oholy redhat com>
Date:   Tue Oct 24 16:11:56 2017 +0200

    mtp: Remove redundant ifdefs
    
    HAVE_GUDEV guards are redundant, because gudev is hard requirement.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786149

 daemon/gvfsbackendmtp.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/daemon/gvfsbackendmtp.h b/daemon/gvfsbackendmtp.h
index ad57067..2f1b27a 100644
--- a/daemon/gvfsbackendmtp.h
+++ b/daemon/gvfsbackendmtp.h
@@ -23,9 +23,7 @@
 
 #include <gvfsbackend.h>
 #include <gmountspec.h>
-#ifdef HAVE_GUDEV
 #include <gudev/gudev.h>
-#endif
 #include <libmtp.h>
 
 G_BEGIN_DECLS
@@ -44,9 +42,7 @@ struct _GVfsBackendMtp
 {
   GVfsBackend parent_instance;
 
-#ifdef HAVE_GUDEV
   GUdevClient *gudev_client;
-#endif
 
   GMutex mutex;
   LIBMTP_mtpdevice_t *device;


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