From a125cc2ec9a939831e568f7d8b95f0c900b88db3 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 18 Feb 2008 04:37:33 +0000 Subject: ** Fix for bnc #178778 2008-02-18 Srinivasa Ragavan ** Fix for bnc #178778 * gui/dialogs/recurrence-page.c: (preview_recur): svn path=/trunk/; revision=35039 --- calendar/ChangeLog | 6 ++++++ calendar/gui/dialogs/recurrence-page.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index a438b53d44..58495a446d 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2008-02-18 Srinivasa Ragavan + + ** Fix for bnc #178778 + + * gui/dialogs/recurrence-page.c: (preview_recur): + 2008-02-18 Srinivasa Ragavan ** Fix for bnc #160049. Patch from OpenSUSE. diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index 34e748a7d7..c95eb34937 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -857,7 +857,7 @@ preview_recur (RecurrencePage *rpage) /* If our component has not been set yet through ::fill_widgets(), we * cannot preview the recurrence. */ - if (!priv->comp || e_cal_component_is_instance (priv->comp)) + if (!priv || !priv->comp || e_cal_component_is_instance (priv->comp)) return; /* Create a scratch component with the start/end and -- cgit v1.2.3