[evolution-data-server] Bug #627333 - Cannot cancel password dialog for an addressbook



commit e531b78aebd122414c0c27df88979422e09e17b8
Author: Milan Crha <mcrha redhat com>
Date:   Fri Aug 27 11:11:11 2010 +0200

    Bug #627333 - Cannot cancel password dialog for an addressbook

 libedataserverui/e-book-auth-util.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libedataserverui/e-book-auth-util.c b/libedataserverui/e-book-auth-util.c
index 25b380b..a143bf2 100644
--- a/libedataserverui/e-book-auth-util.c
+++ b/libedataserverui/e-book-auth-util.c
@@ -590,6 +590,9 @@ e_load_book_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 ();
 	}
 
 	context = g_slice_new0 (LoadContext);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]