Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 0bffad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcaja-private/caja-monitor.c
Expand Up @@ -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);
Expand Down

0 comments on commit 0bffad7

Please sign in to comment.