From 505ec4079c478b56ce279fad99fdfdd28f2310c6 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 4 Sep 2013 16:19:48 +0200 Subject: roster-view: inherit from GtkListBox https://bugzilla.gnome.org/show_bug.cgi?id=706988 --- tests/interactive/test-empathy-dual-roster-view.c | 3 +-- tests/interactive/test-empathy-roster-model-aggregator.c | 3 +-- tests/interactive/test-empathy-roster-view.c | 3 +-- 3 files changed, 3 insertions(+), 6 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 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); -- cgit v1.2.3