[nautilus] window: make sure to disconnect the sidebar changed id signal
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window: make sure to disconnect the sidebar changed id signal
- Date: Wed, 23 Feb 2011 21:40:40 +0000 (UTC)
commit 187604bc871c9b09be29794713c5db211d075d48
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Feb 23 16:17:46 2011 -0500
window: make sure to disconnect the sidebar changed id signal
When the window is finalized.
src/nautilus-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 2891b7f..7c5ccbf 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -746,6 +746,9 @@ nautilus_window_finalize (GObject *object)
g_object_unref (window->details->bookmark_list);
}
+ g_signal_handlers_disconnect_by_func (nautilus_window_state,
+ side_pane_id_changed, window);
+
/* nautilus_window_close() should have run */
g_assert (window->details->panes == NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]