]> git.0d.be Git - empathy.git/blobdiff - megaphone/src/megaphone-applet.c
Port EmpathyContactManager to the new singleton policy.
[empathy.git] / megaphone / src / megaphone-applet.c
index 1d63a2cbb61fcd882364508c71a85a31212e8c6c..413e34276abfcc252230d4a2de39c2a8906de94e 100644 (file)
@@ -354,7 +354,7 @@ megaphone_applet_show_preferences (MegaphoneApplet *applet)
                                              NULL);
 
        /* Show all contacts, even offline and sort alphabetically */
-       contact_manager = empathy_contact_manager_new ();
+       contact_manager = empathy_contact_manager_dup_singleton ();
        contact_store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (contact_manager));
        g_object_set (contact_store,
                      "is-compact", TRUE,