aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-07-31 15:36:46 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-07-31 15:36:46 +0800
commitcb97e0fdff353a8a68cc7ec252baa3f2bcb2d255 (patch)
tree99a008d111f12a6cb2f302a5351c7b66921052be /calendar
parent00dbc974c6830aa29243964d82836ecd0d48560a (diff)
downloadgsoc2013-evolution-cb97e0fdff353a8a68cc7ec252baa3f2bcb2d255.tar
gsoc2013-evolution-cb97e0fdff353a8a68cc7ec252baa3f2bcb2d255.tar.gz
gsoc2013-evolution-cb97e0fdff353a8a68cc7ec252baa3f2bcb2d255.tar.bz2
gsoc2013-evolution-cb97e0fdff353a8a68cc7ec252baa3f2bcb2d255.tar.lz
gsoc2013-evolution-cb97e0fdff353a8a68cc7ec252baa3f2bcb2d255.tar.xz
gsoc2013-evolution-cb97e0fdff353a8a68cc7ec252baa3f2bcb2d255.tar.zst
gsoc2013-evolution-cb97e0fdff353a8a68cc7ec252baa3f2bcb2d255.zip
Fixes #345646
svn path=/trunk/; revision=32439
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/dialogs/recurrence-page.c4
2 files changed, 11 insertions, 0 deletions
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 <pchenthill@novell.com>
+
+ Fixes #345646
+ * gui/dialogs/recurrence-page.c:
+ (recurrence_page_finalize): Diconnect the signal handler
+ while destroying the page.
+
2006-07-27 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
* 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);