[Telepathy-commits] [telepathy-glib/master] TpBaseConnection: remove pointless cast from TP_BASE_CONNECTION_GET_PRIVATE

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Mar 3 06:20:32 PST 2009


---
 telepathy-glib/base-connection.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index bee1f37..ab17ec5 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -284,8 +284,7 @@ enum
 
 static guint signals[N_SIGNALS] = {0};
 
-#define TP_BASE_CONNECTION_GET_PRIVATE(obj) \
-    ((TpBaseConnectionPrivate *) obj->priv)
+#define TP_BASE_CONNECTION_GET_PRIVATE(obj) (obj->priv)
 
 typedef struct _ChannelRequest ChannelRequest;
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list