summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-directory-background.c
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-04-06 22:18:09 +0000
committerDarin Adler <darin@src.gnome.org>2000-04-06 22:18:09 +0000
commit50206e4a0093a53ceb58ff424cd0e40bd82fcceb (patch)
treeb9c26ad5e33941585d24386bac2b6a0111784461 /libnautilus-private/nautilus-directory-background.c
parent304eeb467e14f1e0ce9317581a6d482fd5cd3d63 (diff)
downloadnautilus-50206e4a0093a53ceb58ff424cd0e40bd82fcceb.tar.gz
Fixed code that was trying to disconnect the handler from the new
* libnautilus/nautilus-directory-background.c: (nautilus_connect_background_to_directory_metadata): Fixed code that was trying to disconnect the handler from the new directory, not the old one.
Diffstat (limited to 'libnautilus-private/nautilus-directory-background.c')
-rw-r--r--libnautilus-private/nautilus-directory-background.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-directory-background.c b/libnautilus-private/nautilus-directory-background.c
index 7fccfe1da..8cb19374f 100644
--- a/libnautilus-private/nautilus-directory-background.c
+++ b/libnautilus-private/nautilus-directory-background.c
@@ -138,7 +138,7 @@ nautilus_connect_background_to_directory_metadata (GtkWidget *widget,
g_assert (NAUTILUS_IS_DIRECTORY (old_directory));
gtk_signal_disconnect_by_func (GTK_OBJECT (background),
GTK_SIGNAL_FUNC (background_changed_callback),
- directory);
+ old_directory);
gtk_signal_disconnect_by_func (GTK_OBJECT (old_directory),
GTK_SIGNAL_FUNC (directory_changed_callback),
background);