summaryrefslogtreecommitdiff
path: root/src/caja-window.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-04-21 17:15:34 +0300
committermonsta <[email protected]>2016-04-21 17:15:34 +0300
commit9a86c2cbc0b1e75f9073461ead8bc2d917694921 (patch)
tree21fa8c27927c67d0b94c9046bd0f1e1154d5f0b4 /src/caja-window.c
parent355a7dc4209ab6b0ddfdd5597c99d9a2ae63c406 (diff)
downloadcaja-9a86c2cbc0b1e75f9073461ead8bc2d917694921.tar.bz2
caja-9a86c2cbc0b1e75f9073461ead8bc2d917694921.tar.xz
prefs dialog: don't crash on toggling "Show hidden and backup files"
adapted from: https://git.gnome.org/browse/nautilus/commit/?id=7428762ea6601abba086fcc5e57f443b2e2b40b5 fixes https://github.com/mate-desktop/caja/issues/326
Diffstat (limited to 'src/caja-window.c')
-rw-r--r--src/caja-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/caja-window.c b/src/caja-window.c
index 03a01032..1eca5977 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -682,7 +682,7 @@ caja_window_finalize (GObject *object)
window = CAJA_WINDOW (object);
- caja_window_remove_trash_monitor_callback (window);
+ caja_window_finalize_menus (window);
free_stored_viewers (window);
if (window->details->bookmark_list != NULL)