[folks] eds: Don’t warn if trying to close an alr eady closed connection
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] eds: Don’t warn if trying to close an alr eady closed connection
- Date: Sun, 16 Feb 2014 23:55:38 +0000 (UTC)
commit fdd023596ef123e3e22a330e4fd215ace63c8f7f
Author: Philip Withnall <philip tecnocode co uk>
Date: Sun Feb 16 22:51:32 2014 +0000
eds: Don’t warn if trying to close an already closed connection
backends/eds/lib/edsf-persona-store.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/backends/eds/lib/edsf-persona-store.vala b/backends/eds/lib/edsf-persona-store.vala
index e048eb5..c27565b 100644
--- a/backends/eds/lib/edsf-persona-store.vala
+++ b/backends/eds/lib/edsf-persona-store.vala
@@ -366,7 +366,8 @@ public class Edsf.PersonaStore : Folks.PersonaStore
}
catch (GLib.Error e)
{
- GLib.warning ("~PersonaStore: %s\n", e.message);
+ if (!(e is IOError.CLOSED))
+ GLib.warning ("~PersonaStore: %s\n", e.message);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]