From b3c361fdca7f6a0bb2a63e676cd0a5d488261127 Mon Sep 17 00:00:00 2001 From: Laurent Contzen Date: Sat, 4 Aug 2012 14:38:25 +0200 Subject: Removed the manager from the view, relying only on the model --- nautilus-sendto-plugin/empathy-nautilus-sendto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 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 fcfc28215..56c55f57a 100644 --- a/nautilus-sendto-plugin/empathy-nautilus-sendto.c +++ b/nautilus-sendto-plugin/empathy-nautilus-sendto.c @@ -114,15 +114,15 @@ 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 (); model = EMPATHY_ROSTER_MODEL (empathy_roster_model_manager_new (mgr)); - roster_view = empathy_roster_view_new (mgr, model); + roster_view = empathy_roster_view_new (model); g_object_unref (model); - + scrolled = gtk_scrolled_window_new (NULL, NULL); g_object_unref (mgr); -- cgit v1.2.3