Commit 4e5ed70e authored by Xavier Claessens's avatar Xavier Claessens

Use the right weak pointer location.

svn path=/trunk/; revision=2096
parent a7e11de2
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment