aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-sidebar.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-07-19 23:43:08 +0800
committerMilan Crha <mcrha@redhat.com>2013-07-19 23:43:46 +0800
commit7a05cf2cf74ceb5c5bb950f42475ab4ff3acba74 (patch)
treebae5a24f836677f4539f9a3ff64e19a3f617ec02 /modules/calendar/e-cal-shell-sidebar.c
parent7383843653a4aecb0bffb589e57ff6bad51547fd (diff)
downloadgsoc2013-evolution-7a05cf2cf74ceb5c5bb950f42475ab4ff3acba74.tar
gsoc2013-evolution-7a05cf2cf74ceb5c5bb950f42475ab4ff3acba74.tar.gz
gsoc2013-evolution-7a05cf2cf74ceb5c5bb950f42475ab4ff3acba74.tar.bz2
gsoc2013-evolution-7a05cf2cf74ceb5c5bb950f42475ab4ff3acba74.tar.lz
gsoc2013-evolution-7a05cf2cf74ceb5c5bb950f42475ab4ff3acba74.tar.xz
gsoc2013-evolution-7a05cf2cf74ceb5c5bb950f42475ab4ff3acba74.tar.zst
gsoc2013-evolution-7a05cf2cf74ceb5c5bb950f42475ab4ff3acba74.zip
Bug #703153 - Forgotten signal callbacks for freed objects
Diffstat (limited to 'modules/calendar/e-cal-shell-sidebar.c')
-rw-r--r--modules/calendar/e-cal-shell-sidebar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index bb779dab3c..196e519ca3 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -419,6 +419,9 @@ cal_shell_sidebar_restore_state_cb (EShellWindow *shell_window,
priv = E_CAL_SHELL_SIDEBAR_GET_PRIVATE (shell_sidebar);
+ g_signal_handlers_disconnect_by_func (shell_window,
+ cal_shell_sidebar_restore_state_cb, shell_sidebar);
+
selector = E_SOURCE_SELECTOR (priv->selector);
registry = e_source_selector_get_registry (selector);
model = gtk_tree_view_get_model (GTK_TREE_VIEW (selector));