summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-03-29 14:24:18 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-03-30 18:25:44 +0100
commit71c9727705f5d8b46f243c7bf29dcf98582813d8 (patch)
tree4dc3852059ff95b935e871dfa248cc271ff713eb
parent2640ff57a31aacfaff3f2203e5e8b1bcd8c3685b (diff)
tp_connection_got_interfaces_cb: avoid a redundant function call
-rw-r--r--telepathy-glib/connection.c3
1 files changed, 1 insertions, 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)
{