From edf88058847eb77f8ecc1e5b37fa76e7db9f7ad3 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 4 Nov 2011 12:15:47 +0100 Subject: Abstract the individual store We now have EmpathyIndividualStoreManager which implements the store using EmpathyIndividualManager as its contact source. https://bugzilla.gnome.org/show_bug.cgi?id=663387 --- libempathy-gtk/empathy-contact-chooser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libempathy-gtk/empathy-contact-chooser.c') diff --git a/libempathy-gtk/empathy-contact-chooser.c b/libempathy-gtk/empathy-contact-chooser.c index 5ff17a432..6d93e6813 100644 --- a/libempathy-gtk/empathy-contact-chooser.c +++ b/libempathy-gtk/empathy-contact-chooser.c @@ -14,6 +14,7 @@ #include "empathy-contact-chooser.h" +#include #include #include @@ -412,7 +413,8 @@ empathy_contact_chooser_init (EmpathyContactChooser *self) /* Add the treeview */ mgr = empathy_individual_manager_dup_singleton (); - self->priv->store = empathy_individual_store_new (mgr); + self->priv->store = EMPATHY_INDIVIDUAL_STORE ( + empathy_individual_store_manager_new (mgr)); g_object_unref (mgr); empathy_individual_store_set_show_groups (self->priv->store, FALSE); -- cgit v1.2.3