[empathy] Use a quark as it is faster



commit ff5143dd2d5294ef3465f50c03e39fd3201a0385
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date:   Sat May 9 17:13:19 2009 -0400

    Use a quark as it is faster
---
 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 0a118d6..d545d3e 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]