aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/interactive/test-empathy-dual-roster-view.c3
-rw-r--r--tests/interactive/test-empathy-roster-model-aggregator.c3
-rw-r--r--tests/interactive/test-empathy-roster-view.c3
3 files changed, 3 insertions, 6 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);
diff --git a/tests/interactive/test-empathy-roster-model-aggregator.c b/tests/interactive/test-empathy-roster-model-aggregator.c
index c53859f8f..a25109631 100644
--- a/tests/interactive/test-empathy-roster-model-aggregator.c
+++ b/tests/interactive/test-empathy-roster-model-aggregator.c
@@ -145,8 +145,7 @@ main (int argc,
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);
diff --git a/tests/interactive/test-empathy-roster-view.c b/tests/interactive/test-empathy-roster-view.c
index d8e5d3464..fbf09c71d 100644
--- a/tests/interactive/test-empathy-roster-view.c
+++ b/tests/interactive/test-empathy-roster-view.c
@@ -137,8 +137,7 @@ main (int argc,
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);