aboutsummaryrefslogtreecommitdiffstats
path: root/tests/interactive/test-empathy-dual-roster-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/interactive/test-empathy-dual-roster-view.c')
-rw-r--r--tests/interactive/test-empathy-dual-roster-view.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/interactive/test-empathy-dual-roster-view.c b/tests/interactive/test-empathy-dual-roster-view.c
index b98cb3c0e..0d4b889d3 100644
--- a/tests/interactive/test-empathy-dual-roster-view.c
+++ b/tests/interactive/test-empathy-dual-roster-view.c
@@ -102,8 +102,7 @@ create_view_box (EmpathyRosterModel *model,
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled),
GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
- egg_list_box_add_to_scrolled (EGG_LIST_BOX (view),
- GTK_SCROLLED_WINDOW (scrolled));
+ gtk_container_add (GTK_CONTAINER (scrolled), view);
gtk_box_pack_start (GTK_BOX (box), search, FALSE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (box), scrolled, TRUE, TRUE, 0);