summaryrefslogtreecommitdiff
path: root/src/nautilus-navigation-window.c
diff options
context:
space:
mode:
authorAndy Hertzfeld <andy@src.gnome.org>2000-12-01 19:13:10 +0000
committerAndy Hertzfeld <andy@src.gnome.org>2000-12-01 19:13:10 +0000
commit24eeeac3992dc2b5e51e8283c0a49e16ad2b3e16 (patch)
tree777bec7cbaac0124ebbfc2241040ae171c2464fe /src/nautilus-navigation-window.c
parent2fa6d0702e8a868b9f78ac8e691de2a3616ceeda (diff)
downloadnautilus-24eeeac3992dc2b5e51e8283c0a49e16ad2b3e16.tar.gz
fixed bug 4921, crash when changing sidebar panels preferences after
* src/nautilus-window.c: (nautilus_window_destroy): fixed bug 4921, crash when changing sidebar panels preferences after opening new window, by fixing the call to remove the preferences callback to have the right callback data.
Diffstat (limited to 'src/nautilus-navigation-window.c')
-rw-r--r--src/nautilus-navigation-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-navigation-window.c b/src/nautilus-navigation-window.c
index e525295ef..c4dda18f3 100644
--- a/src/nautilus-navigation-window.c
+++ b/src/nautilus-navigation-window.c
@@ -608,7 +608,7 @@ nautilus_window_destroy (GtkObject *object)
cancel_view_as_callback (window);
nautilus_preferences_remove_callback (NAUTILUS_PREFERENCES_SIDEBAR_PANELS_NAMESPACE,
sidebar_panels_changed_callback,
- NULL);
+ window);
nautilus_window_remove_bookmarks_menu_callback (window);
nautilus_window_remove_go_menu_callback (window);
nautilus_window_toolbar_remove_theme_callback (window);