[evolution-data-server] Correct a failure condition in cal_client_init_in_dbus_thread()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Correct a failure condition in cal_client_init_in_dbus_thread()
- Date: Wed, 6 Dec 2017 12:20:13 +0000 (UTC)
commit 0893e90085f88ecbd82d850a32b50790b66736b8
Author: Milan Crha <mcrha redhat com>
Date: Wed Dec 6 13:19:04 2017 +0100
Correct a failure condition in cal_client_init_in_dbus_thread()
src/calendar/libecal/e-cal-client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/libecal/e-cal-client.c b/src/calendar/libecal/e-cal-client.c
index 62efe0a..93031aa 100644
--- a/src/calendar/libecal/e-cal-client.c
+++ b/src/calendar/libecal/e-cal-client.c
@@ -1244,7 +1244,7 @@ cal_client_init_in_dbus_thread (GSimpleAsyncResult *simple,
(((object_path != NULL) || (bus_name != NULL)) && (local_error == NULL)) ||
(((object_path == NULL) || (bus_name == NULL)) && (local_error != NULL)));
- if (object_path == NULL) {
+ if (local_error) {
g_dbus_error_strip_remote_error (local_error);
g_simple_async_result_take_error (simple, local_error);
g_object_unref (connection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]