Skip to content
Permalink
Browse files

monitor: fix crash on unmounting remote filesystems

Don't treat remote filesystems differently when unmounting
  • Loading branch information...
lukefromdc committed Nov 2, 2018
1 parent d8d375b commit 0bffad73380b318d9775e12ea7153ae14488349c
Showing with 2 additions and 2 deletions.
  1. +2 −2 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);

0 comments on commit 0bffad7

Please sign in to comment.
You can’t perform that action at this time.