summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2015-05-20 14:39:10 +0200
committerBastien Nocera <hadess@hadess.net>2016-03-19 13:30:11 +0100
commit7ca0618af5d57e50041ff9e0ca90717861135783 (patch)
tree2582a9b92ab7f495a8671d7aae9afbab2c6f2119
parentfe83e098679e120c0be2586b83f18f2fee4ea570 (diff)
downloadgvfs-7ca0618af5d57e50041ff9e0ca90717861135783.tar.gz
gphoto2: Show iDevices through MTP
There's no interesting data for users in afc:/// so it's best to show iDevices through MTP instead. Stop hiding iDevices through the MTP. https://bugzilla.gnome.org/show_bug.cgi?id=749639
-rw-r--r--monitor/gphoto2/ggphoto2volumemonitor.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/monitor/gphoto2/ggphoto2volumemonitor.c b/monitor/gphoto2/ggphoto2volumemonitor.c
index f2997372..9b8f3330 100644
--- a/monitor/gphoto2/ggphoto2volumemonitor.c
+++ b/monitor/gphoto2/ggphoto2volumemonitor.c
@@ -185,15 +185,6 @@ gudev_add_camera (GGPhoto2VolumeMonitor *monitor, GUdevDevice *device, gboolean
guint num_store_heads;
const char *usb_bus_num, *usb_device_num;
- /* For iPhones and iPod Touches, don't mount gphoto mounts,
- * we already have access through AFC */
-#ifdef HAVE_AFC
- if (g_udev_device_get_property_as_boolean (device, "USBMUX_SUPPORTED"))
- {
- /* g_debug ("ignoring device, is AFC"); */
- return;
- }
-#endif /* HAVE_AFC */
#ifdef HAVE_LIBMTP
if (g_udev_device_get_property_as_boolean (device, "ID_MTP_DEVICE"))
{