From 7a05cf2cf74ceb5c5bb950f42475ab4ff3acba74 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 19 Jul 2013 17:43:08 +0200 Subject: Bug #703153 - Forgotten signal callbacks for freed objects --- modules/calendar/e-cal-shell-sidebar.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/calendar') 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)); -- cgit v1.2.3