[folks/648811-dummy-backend-rebase1] fixup! dummy: Validate the types of personas exposed by the persona store



commit 4c87b47298e8567d7190093efe028d4576094d65
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Nov 6 11:12:07 2013 +0000

    fixup! dummy: Validate the types of personas exposed by the persona store

 backends/dummy/lib/dummy-persona-store.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/dummy/lib/dummy-persona-store.vala b/backends/dummy/lib/dummy-persona-store.vala
index 55a6b81..c2e599f 100644
--- a/backends/dummy/lib/dummy-persona-store.vala
+++ b/backends/dummy/lib/dummy-persona-store.vala
@@ -840,7 +840,7 @@ public class Dummyf.PersonaStore : Folks.PersonaStore
 
       foreach (var persona in personas)
         {
-          assert (persona is this._persona_type);
+          assert (persona.get_type ().is_a (this._persona_type));
 
           if (!this._personas.has_key (persona.iid))
             {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]