break;
}
assert (pstore != null);
-
- yield _add_personas (pstore);
+ pstore.notify["is-prepared"].connect (this._persona_store_prepared_cb);
}
catch (GLib.Error e)
{
}
}
+ private void _persona_store_prepared_cb (Object obj, ParamSpec params)
+ {
+ PersonaStore pstore = (!)(obj as PersonaStore);
+
+ _add_personas (pstore);
+ }
+
/* Here is how this test is expected to work:
* - we start by adding 2 personas
* - this should trigger individuals-changed with 2 new individuals
break;
}
assert (pstore != null);
-
- yield _add_personas (pstore);
+ pstore.notify["is-prepared"].connect (this._persona_store_prepared_cb);
}
catch (GLib.Error e)
{
}
}
+ private void _persona_store_prepared_cb (Object obj, ParamSpec params)
+ {
+ PersonaStore pstore = (!)(obj as PersonaStore);
+
+ _add_personas (pstore);
+ }
+
/* Here is how this test is expected to work:
* - we start by adding 2 personas
* - this should trigger individuals-changed with 2 new individuals