diff options
author | lukefromdc <[email protected]> | 2018-11-02 01:48:37 -0400 |
---|---|---|
committer | lukefromdc <[email protected]> | 2018-11-02 01:56:05 -0400 |
commit | 0bffad73380b318d9775e12ea7153ae14488349c (patch) | |
tree | 90a46d4a1ac0f4ad7a1f8b3474a7d5909aa5f641 /libcaja-private | |
parent | d8d375b51c623231f163e341c036cdea56c00c4a (diff) | |
download | caja-0bffad73380b318d9775e12ea7153ae14488349c.tar.bz2 caja-0bffad73380b318d9775e12ea7153ae14488349c.tar.xz |
monitor: fix crash on unmounting remote filesystems
Don't treat remote filesystems differently when unmounting
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-monitor.c b/libcaja-private/caja-monitor.c index 73d18f36..2116b9d8 100644 --- a/libcaja-private/caja-monitor.c +++ b/libcaja-private/caja-monitor.c @@ -154,13 +154,13 @@ caja_monitor_directory (GFile *location) if (dir_monitor != NULL) { ret->monitor = dir_monitor; } - + /*This caused a crash on umounting remote shares else if (!g_file_is_native (location)) { ret->mount = caja_get_mounted_mount_for_root (location); ret->location = g_object_ref (location); ret->volume_monitor = g_volume_monitor_get (); } - + */ if (ret->monitor != NULL) { g_signal_connect (ret->monitor, "changed", G_CALLBACK (dir_changed), ret); |