[folks] eds: Ignore errors from unimplemented EDS methods
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] eds: Ignore errors from unimplemented EDS methods
- Date: Sat, 21 Jun 2014 16:37:12 +0000 (UTC)
commit ae1f281855d2f47102a61b56188f841807571537
Author: Philip Withnall <philip withnall collabora co uk>
Date: Fri Jun 20 20:34:34 2014 +0100
eds: Ignore errors from unimplemented EDS methods
We can assume the methods are deliberately not implemented, so we
shouldn’t warn about them.
This complements the patch in
https://bugzilla.gnome.org/show_bug.cgi?id=731981.
https://bugzilla.gnome.org/show_bug.cgi?id=726973
backends/eds/lib/edsf-persona-store.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/eds/lib/edsf-persona-store.vala b/backends/eds/lib/edsf-persona-store.vala
index c92fc08..9f9a400 100644
--- a/backends/eds/lib/edsf-persona-store.vala
+++ b/backends/eds/lib/edsf-persona-store.vala
@@ -367,7 +367,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
}
catch (GLib.Error e)
{
- if (!(e is IOError.CLOSED))
+ if (!(e is IOError.CLOSED) && !(e is DBusError.NOT_SUPPORTED))
GLib.warning ("~PersonaStore: %s\n", e.message);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]