diff options
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-account-manager.c | 4 | ||||
-rw-r--r-- | libempathy/empathy-call-factory.c | 2 | ||||
-rw-r--r-- | libempathy/empathy-chatroom-manager.c | 2 | ||||
-rw-r--r-- | libempathy/empathy-contact-factory.c | 2 | ||||
-rw-r--r-- | libempathy/empathy-contact-manager.c | 2 | ||||
-rw-r--r-- | libempathy/empathy-dispatcher.c | 2 | ||||
-rw-r--r-- | libempathy/empathy-idle.c | 2 | ||||
-rw-r--r-- | libempathy/empathy-log-manager.c | 2 |
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; |