aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-08-27 17:12:02 +0800
committerMilan Crha <mcrha@redhat.com>2010-08-27 17:12:02 +0800
commit73bf4e81c1352b4e94e412e7b97f18237accb7ff (patch)
tree3f266455c7e2c598391d755cd7625b680f979218
parent125a0dac96efe5fd214c984562fc104b6bed0eed (diff)
downloadgsoc2013-evolution-73bf4e81c1352b4e94e412e7b97f18237accb7ff.tar
gsoc2013-evolution-73bf4e81c1352b4e94e412e7b97f18237accb7ff.tar.gz
gsoc2013-evolution-73bf4e81c1352b4e94e412e7b97f18237accb7ff.tar.bz2
gsoc2013-evolution-73bf4e81c1352b4e94e412e7b97f18237accb7ff.tar.lz
gsoc2013-evolution-73bf4e81c1352b4e94e412e7b97f18237accb7ff.tar.xz
gsoc2013-evolution-73bf4e81c1352b4e94e412e7b97f18237accb7ff.tar.zst
gsoc2013-evolution-73bf4e81c1352b4e94e412e7b97f18237accb7ff.zip
Bug #627333 - Cannot cancel password dialog for a calendar
-rw-r--r--calendar/common/authentication.c3
1 files changed, 3 insertions, 0 deletions
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)