summaryrefslogtreecommitdiff
path: root/src/nautilus-object-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-object-window.c')
-rw-r--r--src/nautilus-object-window.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nautilus-object-window.c b/src/nautilus-object-window.c
index b0177d68e..b6383d5bc 100644
--- a/src/nautilus-object-window.c
+++ b/src/nautilus-object-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