]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-contact-manager.c
empathy-tp-tube: remove initiator and type member variables as they are not used
[empathy.git] / libempathy / empathy-contact-manager.c
index 533da2aaf2a3c0601019f38189d78259f6ed62af..409f41c449625afa215c33015fd9eda341f02216 100644 (file)
@@ -212,7 +212,7 @@ contact_manager_constructor (GType type,
                        (type, n_props, props);
 
                manager_singleton = EMPATHY_CONTACT_MANAGER (retval);
-               g_object_add_weak_pointer (retval, (gpointer *) &manager_singleton);
+               g_object_add_weak_pointer (retval, (gpointer) &manager_singleton);
        }
 
        return retval;
@@ -249,7 +249,7 @@ empathy_contact_manager_init (EmpathyContactManager *manager)
                          "account-connection-changed",
                          G_CALLBACK (contact_manager_connection_changed_cb), manager);
 
-       mc = empathy_mission_control_new ();
+       mc = empathy_mission_control_dup_singleton ();
 
        /* Get ContactList for existing connections */
        accounts = mission_control_get_online_connections (mc, NULL);