summaryrefslogtreecommitdiff
path: root/tests/testlistview.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testlistview.c')
-rw-r--r--tests/testlistview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testlistview.c b/tests/testlistview.c
index fcbac01e3c..53234078b5 100644
--- a/tests/testlistview.c
+++ b/tests/testlistview.c
@@ -615,7 +615,7 @@ main (int argc, char *argv[])
factory = gtk_signal_list_item_factory_new ();
g_signal_connect (factory, "setup", G_CALLBACK (setup_widget), NULL);
- listview = gtk_list_view_new_with_factory (NULL, factory);
+ listview = gtk_list_view_new (NULL, factory);
gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (sw), listview);
if (argc > 1)