From 87511314e60d6a9c67caaed5d5fd2e3f2f3657c8 Mon Sep 17 00:00:00 2001 From: Laurent Contzen Date: Wed, 4 Jul 2012 11:59:15 +0200 Subject: empathy-roster-view: start using empathy-roster-model https://bugzilla.gnome.org/show_bug.cgi?id=680302 --- nautilus-sendto-plugin/empathy-nautilus-sendto.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'nautilus-sendto-plugin') diff --git a/nautilus-sendto-plugin/empathy-nautilus-sendto.c b/nautilus-sendto-plugin/empathy-nautilus-sendto.c index f93088952..fcfc28215 100644 --- a/nautilus-sendto-plugin/empathy-nautilus-sendto.c +++ b/nautilus-sendto-plugin/empathy-nautilus-sendto.c @@ -34,6 +34,8 @@ #include #include +#include +#include #include #include #include @@ -111,12 +113,16 @@ get_contacts_widget (NstPlugin *plugin) { GtkWidget *roster_view, *box, *scrolled; EmpathyIndividualManager *mgr; - + EmpathyRosterModel *model; + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8); mgr = empathy_individual_manager_dup_singleton (); - roster_view = empathy_roster_view_new (mgr); + model = EMPATHY_ROSTER_MODEL (empathy_roster_model_manager_new (mgr)); + roster_view = empathy_roster_view_new (mgr, model); + g_object_unref (model); + scrolled = gtk_scrolled_window_new (NULL, NULL); g_object_unref (mgr); -- cgit v1.2.3