[telepathy-glib/master] No need to cast to a gpointer.
Jonny Lamb
jonny.lamb at collabora.co.uk
Mon Aug 24 09:51:54 PDT 2009
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
telepathy-glib/debug-sender.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/telepathy-glib/debug-sender.c b/telepathy-glib/debug-sender.c
index b10c391..4166d64 100644
--- a/telepathy-glib/debug-sender.c
+++ b/telepathy-glib/debug-sender.c
@@ -204,7 +204,7 @@ tp_debug_sender_constructor (GType type,
{
retval = G_OBJECT_CLASS (tp_debug_sender_parent_class)->constructor (
type, n_construct_params, construct_params);
- debug_sender = (gpointer) retval;
+ debug_sender = retval;
g_object_add_weak_pointer (retval, &debug_sender);
}
else
--
1.5.6.5
More information about the telepathy-commits
mailing list