diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-04 19:15:47 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-24 19:28:44 +0800 |
commit | edf88058847eb77f8ecc1e5b37fa76e7db9f7ad3 (patch) | |
tree | 4bc158be693aab3c3d9c66ad61a0f6761059ded6 /src | |
parent | 0c7f25a8206c918d4a84405b7d1ab8e994c65d0f (diff) | |
download | gsoc2013-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 'src')
-rw-r--r-- | src/empathy-main-window.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index e4b2ccbfb..7dd631048 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -54,6 +54,7 @@ #include <libempathy-gtk/empathy-gtk-enum-types.h> #include <libempathy-gtk/empathy-individual-dialogs.h> #include <libempathy-gtk/empathy-individual-store.h> +#include <libempathy-gtk/empathy-individual-store-manager.h> #include <libempathy-gtk/empathy-individual-view.h> #include <libempathy-gtk/empathy-new-message-dialog.h> #include <libempathy-gtk/empathy-new-call-dialog.h> @@ -2461,8 +2462,8 @@ empathy_main_window_init (EmpathyMainWindow *window) priv->contact_manager = EMPATHY_CONTACT_LIST ( empathy_contact_manager_dup_singleton ()); individual_manager = empathy_individual_manager_dup_singleton (); - priv->individual_store = empathy_individual_store_new ( - individual_manager); + priv->individual_store = EMPATHY_INDIVIDUAL_STORE ( + empathy_individual_store_manager_new (individual_manager)); g_object_unref (individual_manager); /* For the moment, we disallow Persona drops onto the main contact list (e.g. from things such as |