From cb97e0fdff353a8a68cc7ec252baa3f2bcb2d255 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Mon, 31 Jul 2006 07:36:46 +0000 Subject: Fixes #345646 svn path=/trunk/; revision=32439 --- calendar/ChangeLog | 7 +++++++ calendar/gui/dialogs/recurrence-page.c | 4 ++++ 2 files changed, 11 insertions(+) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index ebcbcbe2e7..aa401c61b2 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2006-07-27 Chenthill Palanisamy + + Fixes #345646 + * gui/dialogs/recurrence-page.c: + (recurrence_page_finalize): Diconnect the signal handler + while destroying the page. + 2006-07-27 Rajeev ramanathan * gui/e-calendar-view.h: Removed the hardcoded ENABLE_CAIRO diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index d428292a52..ed070f057b 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -206,6 +206,7 @@ static void recurrence_page_focus_main_widget (CompEditorPage *page); static gboolean recurrence_page_fill_widgets (CompEditorPage *page, ECalComponent *comp); static gboolean recurrence_page_fill_component (CompEditorPage *page, ECalComponent *comp); static void recurrence_page_set_dates (CompEditorPage *page, CompEditorPageDates *dates); +static void preview_date_range_changed_cb (ECalendarItem *item, gpointer data); static void field_changed (RecurrencePage *apage); static void make_ending_count_special (RecurrencePage *rpage); @@ -281,6 +282,9 @@ recurrence_page_finalize (GObject *object) rpage = RECURRENCE_PAGE (object); priv = rpage->priv; + g_signal_handlers_disconnect_matched (E_CALENDAR (priv->preview_calendar)->calitem, G_SIGNAL_MATCH_FUNC, + 0, 0, NULL, preview_date_range_changed_cb, NULL); + if (priv->main) gtk_widget_unref (priv->main); -- cgit v1.2.3