aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-02-12 03:43:49 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-02-12 03:43:49 +0800
commit9c2e004953dae519e22df6236dcc1a389a17b49c (patch)
treea4b20d115570125fac4d2eec97e1839eb493afcf /libempathy
parent9cdc25c056d3da95035b7ed9c28b78f0c23a2222 (diff)
downloadgsoc2013-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')
-rw-r--r--libempathy/empathy-account-manager.c4
-rw-r--r--libempathy/empathy-call-factory.c2
-rw-r--r--libempathy/empathy-chatroom-manager.c2
-rw-r--r--libempathy/empathy-contact-factory.c2
-rw-r--r--libempathy/empathy-contact-manager.c2
-rw-r--r--libempathy/empathy-dispatcher.c2
-rw-r--r--libempathy/empathy-idle.c2
-rw-r--r--libempathy/empathy-log-manager.c2
8 files changed, 9 insertions, 9 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);
diff --git a/libempathy/empathy-call-factory.c b/libempathy/empathy-call-factory.c
index 08d35f0c2..f412139be 100644
--- a/libempathy/empathy-call-factory.c
+++ b/libempathy/empathy-call-factory.c
@@ -63,7 +63,7 @@ empathy_call_factory_constructor (GType type, guint n_construct_params,
call_factory = G_OBJECT_CLASS (empathy_call_factory_parent_class)->constructor
(type, n_construct_params, construct_params);
- g_object_add_weak_pointer (call_factory, (gpointer *)&call_factory);
+ g_object_add_weak_pointer (call_factory, (gpointer)&call_factory);
return call_factory;
}
diff --git a/libempathy/empathy-chatroom-manager.c b/libempathy/empathy-chatroom-manager.c
index fdc6f3c0c..6765d9e48 100644
--- a/libempathy/empathy-chatroom-manager.c
+++ b/libempathy/empathy-chatroom-manager.c
@@ -139,7 +139,7 @@ empathy_chatroom_manager_constructor (GType type,
priv = GET_PRIV (self);
chatroom_manager_singleton = self;
- g_object_add_weak_pointer (obj, (gpointer *) &chatroom_manager_singleton);
+ g_object_add_weak_pointer (obj, (gpointer) &chatroom_manager_singleton);
if (priv->file == NULL)
{
diff --git a/libempathy/empathy-contact-factory.c b/libempathy/empathy-contact-factory.c
index 412fd8669..c35005774 100644
--- a/libempathy/empathy-contact-factory.c
+++ b/libempathy/empathy-contact-factory.c
@@ -149,7 +149,7 @@ contact_factory_constructor (GType type,
(type, n_props, props);
factory_singleton = EMPATHY_CONTACT_FACTORY (retval);
- g_object_add_weak_pointer (retval, (gpointer *) &factory_singleton);
+ g_object_add_weak_pointer (retval, (gpointer) &factory_singleton);
}
return retval;
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c
index 335131a2f..409f41c44 100644
--- a/libempathy/empathy-contact-manager.c
+++ b/libempathy/empathy-contact-manager.c
@@ -212,7 +212,7 @@ contact_manager_constructor (GType type,
(type, n_props, props);
manager_singleton = EMPATHY_CONTACT_MANAGER (retval);
- g_object_add_weak_pointer (retval, (gpointer *) &manager_singleton);
+ g_object_add_weak_pointer (retval, (gpointer) &manager_singleton);
}
return retval;
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 769b42120..377012447 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -896,7 +896,7 @@ dispatcher_constructor (GType type,
(type, n_construct_params, construct_params);
dispatcher = EMPATHY_DISPATCHER (retval);
- g_object_add_weak_pointer (retval, (gpointer *) &dispatcher);
+ g_object_add_weak_pointer (retval, (gpointer) &dispatcher);
}
else
{
diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c
index 178134738..eeb183892 100644
--- a/libempathy/empathy-idle.c
+++ b/libempathy/empathy-idle.c
@@ -296,7 +296,7 @@ idle_constructor (GType type,
(type, n_props, props);
idle_singleton = EMPATHY_IDLE (retval);
- g_object_add_weak_pointer (retval, (gpointer *) &idle_singleton);
+ g_object_add_weak_pointer (retval, (gpointer) &idle_singleton);
}
return retval;
diff --git a/libempathy/empathy-log-manager.c b/libempathy/empathy-log-manager.c
index 3d7acb3e0..2dccbc9fd 100644
--- a/libempathy/empathy-log-manager.c
+++ b/libempathy/empathy-log-manager.c
@@ -117,7 +117,7 @@ log_manager_constructor (GType type,
(type, n_props, props);
manager_singleton = EMPATHY_LOG_MANAGER (retval);
- g_object_add_weak_pointer (retval, (gpointer *) &manager_singleton);
+ g_object_add_weak_pointer (retval, (gpointer) &manager_singleton);
}
return retval;