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
12 files changed:
(type, n_props, props);
manager_singleton = EMPATHY_SMILEY_MANAGER (retval);
(type, n_props, props);
manager_singleton = EMPATHY_SMILEY_MANAGER (retval);
- g_object_add_weak_pointer (retval, (gpointer *) &manager_singleton);
+ g_object_add_weak_pointer (retval, (gpointer) &manager_singleton);
n_construct_params,
construct_params);
manager_singleton = EMPATHY_ACCOUNT_MANAGER (retval);
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);
else
{
retval = g_object_ref (manager_singleton);
call_factory = G_OBJECT_CLASS (empathy_call_factory_parent_class)->constructor
(type, n_construct_params, 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);
priv = GET_PRIV (self);
chatroom_manager_singleton = self;
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)
{
if (priv->file == NULL)
{
(type, n_props, props);
factory_singleton = EMPATHY_CONTACT_FACTORY (retval);
(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);
(type, n_props, props);
manager_singleton = EMPATHY_CONTACT_MANAGER (retval);
(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);
(type, n_construct_params, construct_params);
dispatcher = EMPATHY_DISPATCHER (retval);
(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);
(type, n_props, props);
idle_singleton = EMPATHY_IDLE (retval);
(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);
(type, n_props, props);
manager_singleton = EMPATHY_LOG_MANAGER (retval);
(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);
(type, n_props, props);
manager_singleton = EMPATHY_EVENT_MANAGER (retval);
(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);
(type, n_props, props);
manager_singleton = EMPATHY_FT_MANAGER (retval);
(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);
spinner_cache = g_object_new (EPHY_TYPE_SPINNER_CACHE, NULL);
cache_ptr = &spinner_cache;
g_object_add_weak_pointer (G_OBJECT (spinner_cache),
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);