summaryrefslogtreecommitdiff
path: root/src/nautilus-window.c
diff options
context:
space:
mode:
authorJames Willcox <jwillcox@gnome.org>2002-12-05 02:42:53 +0000
committerJames Willcox <jwillcox@src.gnome.org>2002-12-05 02:42:53 +0000
commit6b70b20ba7b7fafd406e297b7978177ff324bf95 (patch)
tree18aa6b20339a361b57848c84e176630dca5552b6 /src/nautilus-window.c
parent8c6e2d4dfc9b3ae7fc7b6631156e8d5e6c8baa4f (diff)
downloadnautilus-6b70b20ba7b7fafd406e297b7978177ff324bf95.tar.gz
Disconnect "icons_changed" handler from the icon factory when the window
2002-12-04 James Willcox <jwillcox@gnome.org> * src/nautilus-window.c: (nautilus_window_instance_init): Disconnect "icons_changed" handler from the icon factory when the window is closed. Fixes #98038.
Diffstat (limited to 'src/nautilus-window.c')
-rw-r--r--src/nautilus-window.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index b0177d68e..b6383d5bc 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -190,8 +190,9 @@ nautilus_window_instance_init (NautilusWindow *window)
/* Register IconFactory callback to update the window border icon
* when the icon-theme is changed.
*/
- g_signal_connect (nautilus_icon_factory_get (), "icons_changed",
- G_CALLBACK (icons_changed_callback), window);
+ g_signal_connect_object (nautilus_icon_factory_get (), "icons_changed",
+ G_CALLBACK (icons_changed_callback), window,
+ 0);
/* Create a separate component so when we remove the status
* we don't loose the status bar