aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-04 22:19:48 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-04 22:31:14 +0800
commit505ec4079c478b56ce279fad99fdfdd28f2310c6 (patch)
tree3c63d34b3cf69effbfded6d5bd8a18ad58b13874 /tests
parenta2b853f3f87579d32a835c22bfcdedeab965df8c (diff)
downloadgsoc2013-empathy-505ec4079c478b56ce279fad99fdfdd28f2310c6.tar
gsoc2013-empathy-505ec4079c478b56ce279fad99fdfdd28f2310c6.tar.gz
gsoc2013-empathy-505ec4079c478b56ce279fad99fdfdd28f2310c6.tar.bz2
gsoc2013-empathy-505ec4079c478b56ce279fad99fdfdd28f2310c6.tar.lz
gsoc2013-empathy-505ec4079c478b56ce279fad99fdfdd28f2310c6.tar.xz
gsoc2013-empathy-505ec4079c478b56ce279fad99fdfdd28f2310c6.tar.zst
gsoc2013-empathy-505ec4079c478b56ce279fad99fdfdd28f2310c6.zip
roster-view: inherit from GtkListBox
https://bugzilla.gnome.org/show_bug.cgi?id=706988
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);