aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
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 'src')
-rw-r--r--src/empathy-event-manager.c2
-rw-r--r--src/empathy-ft-manager.c2
-rw-r--r--src/ephy-spinner.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index ddab8769d..787c0e087 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -826,7 +826,7 @@ event_manager_constructor (GType type,
(type, n_props, props);
manager_singleton = EMPATHY_EVENT_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/src/empathy-ft-manager.c b/src/empathy-ft-manager.c
index 3036e5121..e246ac965 100644
--- a/src/empathy-ft-manager.c
+++ b/src/empathy-ft-manager.c
@@ -791,7 +791,7 @@ empathy_ft_manager_constructor (GType type,
(type, n_props, props);
manager_singleton = EMPATHY_FT_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/src/ephy-spinner.c b/src/ephy-spinner.c
index b67b90f76..43b9bc990 100644
--- a/src/ephy-spinner.c
+++ b/src/ephy-spinner.c
@@ -489,7 +489,7 @@ ephy_spinner_cache_ref (void)
spinner_cache = g_object_new (EPHY_TYPE_SPINNER_CACHE, NULL);
cache_ptr = &spinner_cache;
g_object_add_weak_pointer (G_OBJECT (spinner_cache),
- (gpointer *) cache_ptr);
+ (gpointer) cache_ptr);
return spinner_cache;
}