diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-02-12 03:43:49 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-02-12 03:43:49 +0800 |
commit | 9c2e004953dae519e22df6236dcc1a389a17b49c (patch) | |
tree | a4b20d115570125fac4d2eec97e1839eb493afcf /libempathy/empathy-account-manager.c | |
parent | 9cdc25c056d3da95035b7ed9c28b78f0c23a2222 (diff) | |
download | gsoc2013-empathy-9c2e004953dae519e22df6236dcc1a389a17b49c.tar gsoc2013-empathy-9c2e004953dae519e22df6236dcc1a389a17b49c.tar.gz gsoc2013-empathy-9c2e004953dae519e22df6236dcc1a389a17b49c.tar.bz2 gsoc2013-empathy-9c2e004953dae519e22df6236dcc1a389a17b49c.tar.lz gsoc2013-empathy-9c2e004953dae519e22df6236dcc1a389a17b49c.tar.xz gsoc2013-empathy-9c2e004953dae519e22df6236dcc1a389a17b49c.tar.zst gsoc2013-empathy-9c2e004953dae519e22df6236dcc1a389a17b49c.zip |
Fix type punned pointers warnings
Remove senseless (void **)
From: Olivier CrĂȘte <olivier.crete@collabora.co.uk>
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2440
Diffstat (limited to 'libempathy/empathy-account-manager.c')
-rw-r--r-- | libempathy/empathy-account-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-account-manager.c b/libempathy/empathy-account-manager.c index 5c86e29b2..ab372f32e 100644 --- a/libempathy/empathy-account-manager.c +++ b/libempathy/empathy-account-manager.c @@ -474,8 +474,8 @@ do_constructor (GType type, n_construct_params, construct_params); manager_singleton = EMPATHY_ACCOUNT_MANAGER (retval); - g_object_add_weak_pointer (retval, (gpointer *) &manager_singleton); - } + g_object_add_weak_pointer (retval, (gpointer) &manager_singleton); + } else { retval = g_object_ref (manager_singleton); |