aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>2009-05-10 05:13:19 +0800
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>2009-05-10 05:22:23 +0800
commitff5143dd2d5294ef3465f50c03e39fd3201a0385 (patch)
tree1095ab2c2995cc88e20d81c2d635fa7a52b8e7c1 /libempathy
parent5c96e5c47e4165508afa184e1c1eefa5318f19e2 (diff)
downloadgsoc2013-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.c4
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,