summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-10-22 12:23:48 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-10-22 12:34:29 +0100
commitf1640d01aa1795ad1762b0c62c5d683f78912f17 (patch)
tree69a40b3e5d45b157b5e3f5f89b3ddd0f12acea3e
parent4cb9bc0eb48bc46ecd649aa444cbafb3ef38ecc7 (diff)
conn-avatars: remove an unnecessary cast
-rw-r--r--src/conn-avatars.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conn-avatars.c b/src/conn-avatars.c
index cf29c6126..8cfb62ae7 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)