aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-account-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-account-manager.c')
-rw-r--r--libempathy/empathy-account-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-account-manager.c b/libempathy/empathy-account-manager.c
index 9160a7e1f..42d80feab 100644
--- a/libempathy/empathy-account-manager.c
+++ b/libempathy/empathy-account-manager.c
@@ -474,8 +474,8 @@ do_constructor (GType type,
retval = G_OBJECT_CLASS (empathy_account_manager_parent_class)->constructor (type,
n_construct_params,
construct_params);
- g_object_add_weak_pointer (retval, (gpointer *) &retval);
manager_singleton = EMPATHY_ACCOUNT_MANAGER (retval);
+ g_object_add_weak_pointer (retval, (gpointer *) &manager_singleton);
}
else
{