diff options
author | Pierre-Luc Beaudoin <pierre-luc@pierlux.com> | 2009-05-10 05:13:19 +0800 |
---|---|---|
committer | Pierre-Luc Beaudoin <pierre-luc@pierlux.com> | 2009-05-10 05:22:23 +0800 |
commit | ff5143dd2d5294ef3465f50c03e39fd3201a0385 (patch) | |
tree | 1095ab2c2995cc88e20d81c2d635fa7a52b8e7c1 /libempathy | |
parent | 5c96e5c47e4165508afa184e1c1eefa5318f19e2 (diff) | |
download | gsoc2013-empathy-ff5143dd2d5294ef3465f50c03e39fd3201a0385.tar gsoc2013-empathy-ff5143dd2d5294ef3465f50c03e39fd3201a0385.tar.gz gsoc2013-empathy-ff5143dd2d5294ef3465f50c03e39fd3201a0385.tar.bz2 gsoc2013-empathy-ff5143dd2d5294ef3465f50c03e39fd3201a0385.tar.lz gsoc2013-empathy-ff5143dd2d5294ef3465f50c03e39fd3201a0385.tar.xz gsoc2013-empathy-ff5143dd2d5294ef3465f50c03e39fd3201a0385.tar.zst gsoc2013-empathy-ff5143dd2d5294ef3465f50c03e39fd3201a0385.zip |
Use a quark as it is faster
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-tp-contact-factory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c index 0a118d636..d545d3e43 100644 --- a/libempathy/empathy-tp-contact-factory.c +++ b/libempathy/empathy-tp-contact-factory.c @@ -615,8 +615,8 @@ tp_contact_factory_add_contact (EmpathyTpContactFactory *tp_factory, tp_contact_factory_got_capabilities (tp_factory, capabilities, error); g_clear_error (&error); - if (tp_proxy_has_interface (TP_PROXY (priv->connection), - EMP_IFACE_CONNECTION_INTERFACE_LOCATION)) { + if (tp_proxy_has_interface_by_id (TP_PROXY (priv->connection), + EMP_IFACE_QUARK_CONNECTION_INTERFACE_LOCATION)) { emp_cli_connection_interface_location_call_get_locations (TP_PROXY (priv->connection), -1, &handles, |