From 71c9727705f5d8b46f243c7bf29dcf98582813d8 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 29 Mar 2010 14:24:18 +0100 Subject: tp_connection_got_interfaces_cb: avoid a redundant function call --- telepathy-glib/connection.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/telepathy-glib/connection.c b/telepathy-glib/connection.c index 4ff4ab855..a6f49531a 100644 --- a/telepathy-glib/connection.c +++ b/telepathy-glib/connection.c @@ -349,8 +349,7 @@ tp_connection_got_interfaces_cb (TpConnection *self, { GQuark q = g_quark_from_string (*iter); - tp_proxy_add_interface_by_id ((TpProxy *) self, - g_quark_from_string (*iter)); + tp_proxy_add_interface_by_id ((TpProxy *) self, q); if (q == TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACTS) { -- cgit v1.2.3