diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-event-manager.c | 2 | ||||
-rw-r--r-- | src/empathy-ft-manager.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index 398d8d9ff..23f80f7e8 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -401,9 +401,9 @@ event_manager_constructor (GType type, } else { retval = G_OBJECT_CLASS (empathy_event_manager_parent_class)->constructor (type, n_props, props); - g_object_add_weak_pointer (retval, (gpointer *) &retval); manager_singleton = EMPATHY_EVENT_MANAGER (retval); + g_object_add_weak_pointer (retval, (gpointer *) &manager_singleton); } return retval; diff --git a/src/empathy-ft-manager.c b/src/empathy-ft-manager.c index 8cbfd8502..ee580b385 100644 --- a/src/empathy-ft-manager.c +++ b/src/empathy-ft-manager.c @@ -785,9 +785,9 @@ empathy_ft_manager_constructor (GType type, { retval = G_OBJECT_CLASS (empathy_ft_manager_parent_class)->constructor (type, n_props, props); - g_object_add_weak_pointer (retval, (gpointer *) &retval); manager_singleton = EMPATHY_FT_MANAGER (retval); + g_object_add_weak_pointer (retval, (gpointer *) &manager_singleton); } return retval; |