From 73bf4e81c1352b4e94e412e7b97f18237accb7ff Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 27 Aug 2010 11:12:02 +0200 Subject: Bug #627333 - Cannot cancel password dialog for a calendar --- calendar/common/authentication.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'calendar') diff --git a/calendar/common/authentication.c b/calendar/common/authentication.c index b36e10a244..0420f1f5b5 100644 --- a/calendar/common/authentication.c +++ b/calendar/common/authentication.c @@ -324,6 +324,9 @@ e_load_cal_source_async (ESource *source, if (cancellable != NULL) { g_return_if_fail (G_IS_CANCELLABLE (cancellable)); g_object_ref (cancellable); + } else { + /* always provide cancellable, because the code depends on it */ + cancellable = g_cancellable_new (); } if (default_zone == NULL) -- cgit v1.2.3