]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-contact-factory.h
Keep a ref to all TpConnection objects. Map account<>connection.
[empathy.git] / libempathy / empathy-contact-factory.h
index 9ff8d3fa939a05bf7e11b63cbf4b843d4bed9ba7..16df02bcdd012c0b6ceb291da3aea4d94e18bf52 100644 (file)
@@ -40,10 +40,10 @@ G_BEGIN_DECLS
 
 typedef struct _EmpathyContactFactory      EmpathyContactFactory;
 typedef struct _EmpathyContactFactoryClass EmpathyContactFactoryClass;
-typedef struct _EmpathyContactFactoryPriv  EmpathyContactFactoryPriv;
 
 struct _EmpathyContactFactory {
        GObject parent;
+       gpointer priv;
 };
 
 struct _EmpathyContactFactoryClass {
@@ -51,7 +51,7 @@ struct _EmpathyContactFactoryClass {
 };
 
 GType                  empathy_contact_factory_get_type         (void) G_GNUC_CONST;
-EmpathyContactFactory *empathy_contact_factory_new              (void);
+EmpathyContactFactory *empathy_contact_factory_dup_singleton    (void);
 EmpathyTpContactFactory *empathy_contact_factory_get_tp_factory (EmpathyContactFactory *factory,
                                                                 McAccount             *account);
 EmpathyContact *       empathy_contact_factory_get_user         (EmpathyContactFactory *factory,