aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLaurent Contzen <lcontzen@gmail.com>2012-08-04 20:38:25 +0800
committerLaurent Contzen <lcontzen@gmail.com>2012-08-06 17:02:19 +0800
commitb3c361fdca7f6a0bb2a63e676cd0a5d488261127 (patch)
treeb3a500a60b01bb7fb6ece7eb118a2a2669adbacb /tests
parent765db7cfd0a0aa7aea9f0f717a7762ad79e14ef9 (diff)
downloadgsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.tar
gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.tar.gz
gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.tar.bz2
gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.tar.lz
gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.tar.xz
gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.tar.zst
gsoc2013-empathy-b3c361fdca7f6a0bb2a63e676cd0a5d488261127.zip
Removed the manager from the view, relying only on the model
Diffstat (limited to 'tests')
-rw-r--r--tests/interactive/test-empathy-dual-roster-view.c3
-rw-r--r--tests/interactive/test-empathy-roster-view.c2
2 files changed, 2 insertions, 3 deletions
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",