[evolution-data-server/evolution-data-server-3-12] EDataBook/Cal: Complete Refresh operation in IDLE
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/evolution-data-server-3-12] EDataBook/Cal: Complete Refresh operation in IDLE
- Date: Tue, 6 Jan 2015 13:06:28 +0000 (UTC)
commit 0914179d033f54ce663847e5c8cc2105f7d31a3b
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 1935037..a4a27d6 100644
--- a/addressbook/libedata-book/e-data-book.c
+++ b/addressbook/libedata-book/e-data-book.c
@@ -1311,7 +1311,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 856b91f..36b5a94 100644
--- a/calendar/libedata-cal/e-data-cal.c
+++ b/calendar/libedata-cal/e-data-cal.c
@@ -1542,7 +1542,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]