diff options
-rw-r--r-- | libempathy/empathy-account-manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-account-manager.c b/libempathy/empathy-account-manager.c index aa45c3209..94f6e9102 100644 --- a/libempathy/empathy-account-manager.c +++ b/libempathy/empathy-account-manager.c @@ -441,6 +441,7 @@ 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); } else |