[evolution-data-server] libecal: Don’t warn on ca lling unimplemented methods
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] libecal: Don’t warn on ca lling unimplemented methods
- Date: Fri, 20 Jun 2014 19:42:09 +0000 (UTC)
commit 79d3746656bf07fedfc4ec092e24ce3fb70bf651
Author: Philip Withnall <philip withnall collabora co uk>
Date: Fri Jun 20 20:40:55 2014 +0100
libecal: Don’t warn on calling unimplemented methods
See commit d1f237c2e455dda7c91ca79a6f643ef1a613bb61 for rationale.
https://bugzilla.gnome.org/show_bug.cgi?id=731981
calendar/libecal/e-cal-client-view.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/calendar/libecal/e-cal-client-view.c b/calendar/libecal/e-cal-client-view.c
index 69fe2d6..77d3377 100644
--- a/calendar/libecal/e-cal-client-view.c
+++ b/calendar/libecal/e-cal-client-view.c
@@ -519,7 +519,9 @@ cal_client_view_dispose_cb (GObject *source_object,
* has dropped its final reference and gone on to clean up other things
* (like the dbus-daemon, if it’s a test harness). */
if (local_error != NULL &&
- !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CLOSED)) {
+ !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CLOSED) &&
+ !g_error_matches (local_error, G_DBUS_ERROR,
+ G_DBUS_ERROR_NOT_SUPPORTED)) {
g_dbus_error_strip_remote_error (local_error);
g_warning ("%s: %s", G_STRFUNC, local_error->message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]