summaryrefslogtreecommitdiff
path: root/src/nautilus-window.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-03-19 17:39:50 +0000
committerCosimo Cecchi <cosimoc@src.gnome.org>2009-03-19 17:39:50 +0000
commit236c368831ce16ab14b6b799716c81f4def79a90 (patch)
treeeae9297d56b13f89b364dc7e905c999c91161b7d /src/nautilus-window.c
parentc730d79b7b23b5edbb4e24b1c44408555631257c (diff)
downloadnautilus-236c368831ce16ab14b6b799716c81f4def79a90.tar.gz
Remember to disconnect the signal handler to the trash monitor when
2009-03-19 Cosimo Cecchi <cosimoc@gnome.org> * src/nautilus-window-menus.c: (nautilus_window_remove_trash_monitor_callback): * src/nautilus-window-private.h: * src/nautilus-window.c: (nautilus_window_finalize): Remember to disconnect the signal handler to the trash monitor when finalizing the window, as we don't own that object. svn path=/trunk/; revision=15143
Diffstat (limited to 'src/nautilus-window.c')
-rw-r--r--src/nautilus-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index a15558227..eaa099fe3 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -620,6 +620,7 @@ nautilus_window_finalize (GObject *object)
window = NAUTILUS_WINDOW (object);
nautilus_window_remove_bookmarks_menu_callback (window);
+ nautilus_window_remove_trash_monitor_callback (window);
free_stored_viewers (window);