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 --- tests/interactive/test-empathy-dual-roster-view.c | 3 +-- tests/interactive/test-empathy-roster-view.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/interactive') diff --git a/tests/interactive/test-empathy-dual-roster-view.c b/tests/interactive/test-empathy-dual-roster-view.c index eae4f82c1..50903c01f 100644 --- a/tests/interactive/test-empathy-dual-roster-view.c +++ b/tests/interactive/test-empathy-dual-roster-view.c @@ -78,8 +78,7 @@ create_view_box (EmpathyRosterModel *model, box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8); - view = empathy_roster_view_new (empathy_individual_manager_dup_singleton (), - model); + view = empathy_roster_view_new (model); g_signal_connect (view, "individual-activated", G_CALLBACK (individual_activated_cb), NULL); diff --git a/tests/interactive/test-empathy-roster-view.c b/tests/interactive/test-empathy-roster-view.c index 6ab56c836..96137c395 100644 --- a/tests/interactive/test-empathy-roster-view.c +++ b/tests/interactive/test-empathy-roster-view.c @@ -110,7 +110,7 @@ main (int argc, mgr = empathy_individual_manager_dup_singleton (); model = EMPATHY_ROSTER_MODEL (empathy_roster_model_manager_new (mgr)); - view = empathy_roster_view_new (mgr, model); + view = empathy_roster_view_new (model); g_object_unref (model); g_signal_connect (view, "individual-activated", -- cgit v1.2.3