diff options
Diffstat (limited to 'testsuite/gtk/singleselection.c')
-rw-r--r-- | testsuite/gtk/singleselection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/gtk/singleselection.c b/testsuite/gtk/singleselection.c index 90356345da..256506cb4e 100644 --- a/testsuite/gtk/singleselection.c +++ b/testsuite/gtk/singleselection.c @@ -653,7 +653,7 @@ test_set_model (void) store = new_store (1, 5, 1); m1 = G_LIST_MODEL (store); - m2 = G_LIST_MODEL (gtk_slice_list_model_new (m1, 0, 3)); + m2 = G_LIST_MODEL (gtk_slice_list_model_new (g_object_ref (m1), 0, 3)); selection = new_model (store, TRUE, TRUE); assert_selection (selection, "1"); assert_selection_changes (selection, ""); |