[evolution] Bug #627333 - Cannot cancel password dialog for a calendar
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #627333 - Cannot cancel password dialog for a calendar
- Date: Fri, 27 Aug 2010 09:12:52 +0000 (UTC)
commit 73bf4e81c1352b4e94e412e7b97f18237accb7ff
Author: Milan Crha <mcrha redhat com>
Date: Fri Aug 27 11:12:02 2010 +0200
Bug #627333 - Cannot cancel password dialog for a calendar
calendar/common/authentication.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/calendar/common/authentication.c b/calendar/common/authentication.c
index b36e10a..0420f1f 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]