[evolution-data-server/gnome-3-16] Remove confusing runtime warning in e-source.c
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-16] Remove confusing runtime warning in e-source.c
- Date: Wed, 6 May 2015 09:39:44 +0000 (UTC)
commit a22f4439d4282c73b4be2a397e265a4638688757
Author: Milan Crha <mcrha redhat com>
Date: Wed May 6 11:36:24 2015 +0200
Remove confusing runtime warning in e-source.c
It could happen that the source registry revoked the source while
an asynchronous call to e_source_get_last_credentials_required_arguments()
was waiting in the GTask queue, which produced the replaced
runtime warning afterwards.
libedataserver/e-source.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/libedataserver/e-source.c b/libedataserver/e-source.c
index 763ae56..e0954d5 100644
--- a/libedataserver/e-source.c
+++ b/libedataserver/e-source.c
@@ -5202,10 +5202,8 @@ e_source_get_last_credentials_required_arguments_sync (ESource *source,
g_object_unref (dbus_object);
}
- if (!dbus_source) {
- g_warn_if_fail (dbus_source != NULL);
+ if (!dbus_source)
return FALSE;
- }
success = e_dbus_source_call_get_last_credentials_required_arguments_sync (dbus_source,
&arg_reason, out_certificate_pem, &arg_certificate_errors,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]