aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-smiley-manager.c2
-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
-rw-r--r--src/empathy-event-manager.c2
-rw-r--r--src/empathy-ft-manager.c2
-rw-r--r--src/ephy-spinner.c2
12 files changed, 13 insertions, 13 deletions
diff --git a/libempathy-gtk/empathy-smiley-manager.c b/libempathy-gtk/empathy-smiley-manager.c
index ca8a770b2..9f7dd73c8 100644
--- a/libempathy-gtk/empathy-smiley-manager.c
+++ b/libempathy-gtk/empathy-smiley-manager.c
@@ -131,7 +131,7 @@ smiley_manager_constructor (GType type,
(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);
}
return retval;
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;
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;
}