aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/common/authentication.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/common/authentication.c')
-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)