summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2011-10-17 19:24:07 (GMT)
committerTravis Reitter <travis.reitter@collabora.co.uk>2011-10-17 23:16:03 (GMT)
commit0c0882871f103e38075d0fc6e0231ab97c49af37 (patch)
treef91b49254a150cafb283c717f5cea553365d25eb
parent2a88b99a143a2d38253dfe92ce0140f33b453a7d (diff)
downloadfolks-0c0882871f103e38075d0fc6e0231ab97c49af37.tar.gz
folks-0c0882871f103e38075d0fc6e0231ab97c49af37.tar.xz
build: Fix test ObjectCache for internal API breaks.
-rw-r--r--tests/folks/object-cache.vala6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/folks/object-cache.vala b/tests/folks/object-cache.vala
index b7cee02..c669067 100644
--- a/tests/folks/object-cache.vala
+++ b/tests/folks/object-cache.vala
@@ -21,7 +21,8 @@ internal class TestCache : Folks.ObjectCache<TestObject>
base ("test", id);
}
- protected override VariantType get_serialised_object_type ()
+ protected override VariantType? get_serialised_object_type (
+ uint8 object_version)
{
return new VariantType.tuple ({
VariantType.STRING,
@@ -42,7 +43,8 @@ internal class TestCache : Folks.ObjectCache<TestObject>
});
}
- protected override TestObject deserialise_object (Variant variant)
+ protected override TestObject deserialise_object (Variant variant,
+ uint8 object_version)
{
// Deserialise the persona
var my_string = variant.get_child_value (0).get_string ();