[evolution-data-server] EDataBook/Cal: Complete Refresh operation in IDLE



commit 3d78269eeb7e3a142543456861dfba65fecbb2a2
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jan 6 14:02:55 2015 +0100

    EDataBook/Cal: Complete Refresh operation in IDLE
    
    As any other operations, thus there won't be any issue with the main
    contexts (an assertion runtime message from GSimpleAsyncResult).

 addressbook/libedata-book/e-data-book.c |    2 +-
 calendar/libedata-cal/e-data-cal.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/addressbook/libedata-book/e-data-book.c b/addressbook/libedata-book/e-data-book.c
index bc4af6d..4d66ec7 100644
--- a/addressbook/libedata-book/e-data-book.c
+++ b/addressbook/libedata-book/e-data-book.c
@@ -1379,7 +1379,7 @@ e_data_book_respond_refresh (EDataBook *book,
        if (error != NULL)
                g_simple_async_result_take_error (simple, error);
 
-       g_simple_async_result_complete (simple);
+       g_simple_async_result_complete_in_idle (simple);
 
        g_object_unref (simple);
        g_object_unref (backend);
diff --git a/calendar/libedata-cal/e-data-cal.c b/calendar/libedata-cal/e-data-cal.c
index e06acd2..ee2b9dd 100644
--- a/calendar/libedata-cal/e-data-cal.c
+++ b/calendar/libedata-cal/e-data-cal.c
@@ -1610,7 +1610,7 @@ e_data_cal_respond_refresh (EDataCal *cal,
        if (error != NULL)
                g_simple_async_result_take_error (simple, error);
 
-       g_simple_async_result_complete (simple);
+       g_simple_async_result_complete_in_idle (simple);
 
        g_object_unref (simple);
        g_object_unref (backend);


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