diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2011-05-11 17:49:05 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-05-11 18:27:43 +0100 |
commit | 3a3ee21b251b121ce9e0c5159f27e13902cc3500 (patch) | |
tree | 5353dcc893ddc0599707239352c1108b31cef362 | |
parent | 05d530838985bc75a72719995fda748bb6c488b9 (diff) |
GroupMixin test: use tp_asv_get_boxed() for contact-ids
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r-- | tests/dbus/group-mixin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dbus/group-mixin.c b/tests/dbus/group-mixin.c index 3fc77910e..51153be68 100644 --- a/tests/dbus/group-mixin.c +++ b/tests/dbus/group-mixin.c @@ -195,7 +195,6 @@ static void details_contains_ids_for (const GHashTable *details, TpHandle *hs) { - const GValue *contact_ids_v; GHashTable *contact_ids; const gchar *id; guint n = 0; @@ -204,8 +203,9 @@ details_contains_ids_for (const GHashTable *details, if (details == NULL) return; - contact_ids_v = tp_asv_lookup (details, "contact-ids"); - contact_ids = g_value_get_boxed (contact_ids_v); + contact_ids = tp_asv_get_boxed (details, "contact-ids", + TP_HASH_TYPE_HANDLE_IDENTIFIER_MAP); + g_assert (contact_ids != NULL); for (h = hs; *h != 0; h++) { |