[Telepathy-commits] [telepathy-gabble/master] conn-avatars: remove an unnecessary cast

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Oct 22 04:23:48 PDT 2008


---
 src/conn-avatars.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/conn-avatars.c b/src/conn-avatars.c
index cf29c61..8cfb62a 100644
--- a/src/conn-avatars.c
+++ b/src/conn-avatars.c
@@ -872,8 +872,7 @@ conn_avatars_init (GabbleConnection *conn)
 void
 conn_avatars_iface_init (gpointer g_iface, gpointer iface_data)
 {
-  TpSvcConnectionInterfaceAvatarsClass *klass =
-    (TpSvcConnectionInterfaceAvatarsClass *) g_iface;
+  TpSvcConnectionInterfaceAvatarsClass *klass = g_iface;
 
 #define IMPLEMENT(x) tp_svc_connection_interface_avatars_implement_##x (\
     klass, gabble_connection_##x)
-- 
1.5.6.5




More information about the Telepathy-commits mailing list