diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2014-04-05 09:56:54 -0400 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-04-07 18:36:24 +0100 |
commit | 11b1186b7d7a5bc0ce444bf034018a80951e4a68 (patch) | |
tree | 6fdc11d3ad556cecf70fb1c302c0f908d111c144 | |
parent | bbb23fdca2a4fcce86ce288c138bfb385f7da2d1 (diff) |
TpTestsSimpleAccount: Stop using tp_svc_dbus_properties_*()
We are about to stop exporting TpSvcDBusProperties iface so they
would be no-op.
-rw-r--r-- | tests/lib/simple-account.c | 16 |
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 |