aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-chooser.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-04 19:15:47 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-24 19:28:44 +0800
commitedf88058847eb77f8ecc1e5b37fa76e7db9f7ad3 (patch)
tree4bc158be693aab3c3d9c66ad61a0f6761059ded6 /libempathy-gtk/empathy-contact-chooser.c
parent0c7f25a8206c918d4a84405b7d1ab8e994c65d0f (diff)
downloadgsoc2013-empathy-edf88058847eb77f8ecc1e5b37fa76e7db9f7ad3.tar
gsoc2013-empathy-edf88058847eb77f8ecc1e5b37fa76e7db9f7ad3.tar.gz
gsoc2013-empathy-edf88058847eb77f8ecc1e5b37fa76e7db9f7ad3.tar.bz2
gsoc2013-empathy-edf88058847eb77f8ecc1e5b37fa76e7db9f7ad3.tar.lz
gsoc2013-empathy-edf88058847eb77f8ecc1e5b37fa76e7db9f7ad3.tar.xz
gsoc2013-empathy-edf88058847eb77f8ecc1e5b37fa76e7db9f7ad3.tar.zst
gsoc2013-empathy-edf88058847eb77f8ecc1e5b37fa76e7db9f7ad3.zip
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
Diffstat (limited to 'libempathy-gtk/empathy-contact-chooser.c')
-rw-r--r--libempathy-gtk/empathy-contact-chooser.c4
1 files changed, 3 insertions, 1 deletions
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 <libempathy-gtk/empathy-individual-store-manager.h>
#include <libempathy-gtk/empathy-individual-view.h>
#include <libempathy-gtk/empathy-ui-utils.h>
@@ -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);