summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendmtp.h
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2017-10-24 16:11:56 +0200
committerOndrej Holy <oholy@redhat.com>2017-10-31 18:22:08 +0100
commitb411443c400d17e1712f766182b90c9e36cb4196 (patch)
tree6d100d85cfc962d92d3f7e8d1f31864a2dc8c17e /daemon/gvfsbackendmtp.h
parentac30500d1cd135d0d1dba94365f206d613c7e452 (diff)
downloadgvfs-b411443c400d17e1712f766182b90c9e36cb4196.tar.gz
mtp: Remove redundant ifdefs
HAVE_GUDEV guards are redundant, because gudev is hard requirement. https://bugzilla.gnome.org/show_bug.cgi?id=786149
Diffstat (limited to 'daemon/gvfsbackendmtp.h')
-rw-r--r--daemon/gvfsbackendmtp.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/daemon/gvfsbackendmtp.h b/daemon/gvfsbackendmtp.h
index ad570675..2f1b27a9 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;