summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2014-02-16 22:51:32 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2014-02-16 23:52:33 +0000
commitfdd023596ef123e3e22a330e4fd215ace63c8f7f (patch)
tree36f434a8f068c4bb2f94a8708f051ff30fa5dc27
parenta92acd8a9ff837df5636fa9f7e9cf09d6c2d3e15 (diff)
eds: Don’t warn if trying to close an already closed connection
-rw-r--r--backends/eds/lib/edsf-persona-store.vala3
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 e048eb5f..c27565bd 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);
}
}