diff options
Diffstat (limited to 'libempathy/empathy-account-manager.c')
-rw-r--r-- | libempathy/empathy-account-manager.c | 4 |
1 files changed, 2 insertions, 2 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); |