Skip to content

Commit 0bffad7

Browse files
committed
monitor: fix crash on unmounting remote filesystems
Don't treat remote filesystems differently when unmounting
1 parent d8d375b commit 0bffad7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcaja-private/caja-monitor.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,13 @@ caja_monitor_directory (GFile *location)
154154
if (dir_monitor != NULL) {
155155
ret->monitor = dir_monitor;
156156
}
157-
157+
/*This caused a crash on umounting remote shares
158158
else if (!g_file_is_native (location)) {
159159
ret->mount = caja_get_mounted_mount_for_root (location);
160160
ret->location = g_object_ref (location);
161161
ret->volume_monitor = g_volume_monitor_get ();
162162
}
163-
163+
*/
164164
if (ret->monitor != NULL) {
165165
g_signal_connect (ret->monitor, "changed",
166166
G_CALLBACK (dir_changed), ret);

0 commit comments

Comments
 (0)