summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/lib/simple-account.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/tests/lib/simple-account.c b/tests/lib/simple-account.c
index 7f0d568bd..30ac4444f 100644
--- a/tests/lib/simple-account.c
+++ b/tests/lib/simple-account.c
@@ -704,22 +704,10 @@ void
tp_tests_simple_account_add_uri_scheme (TpTestsSimpleAccount *self,
const gchar *uri_scheme)
{
- GHashTable *changed;
- GStrv schemes;
-
g_ptr_array_add (self->priv->uri_schemes, g_strdup (uri_scheme));
- g_object_get (self, "uri-schemes", &schemes, NULL);
-
- changed = tp_asv_new (
- "URISchemes", G_TYPE_STRV, schemes,
- NULL);
-
- tp_svc_dbus_properties_emit_properties_changed (self,
- TP_IFACE_ACCOUNT_INTERFACE_ADDRESSING1, changed, NULL);
-
- g_strfreev (schemes);
- g_hash_table_unref (changed);
+ tp_dbus_properties_mixin_emit_properties_changed_varargs (G_OBJECT (self),
+ TP_IFACE_ACCOUNT_INTERFACE_ADDRESSING1, "URISchemes", NULL);
}
void