diff --git a/test/comboboxtext.jl b/test/comboboxtext.jl index 03800066..4505e155 100644 --- a/test/comboboxtext.jl +++ b/test/comboboxtext.jl @@ -3,7 +3,7 @@ using Gtk4 @testset "comboboxtext" begin @testset "populate with push!" begin - cbstr = GtkComboBoxText() + cbstr = GtkComboBoxText(false) push!(cbstr, "1", "abc") push!(cbstr, "2", "xyz") diff --git a/test/gui/listviews.jl b/test/gui/listviews.jl index b2d2602f..47aaa98c 100644 --- a/test/gui/listviews.jl +++ b/test/gui/listviews.jl @@ -77,6 +77,9 @@ listBox[1] = GtkLabel("widget 2") sw[] = listBox listBox.vexpand = true +Gtk4.set_filter_func(listBox, nothing) +Gtk4.set_sort_func(listBox, nothing) + # while we're at it, test GtkExpression pe = GtkPropertyExpression(GtkWindow, "title") rgv=Ref(GLib.GValue()) @@ -122,6 +125,9 @@ listBox[1] = GtkLabel("widget 2") sw[] = listBox listBox.vexpand = true +Gtk4.set_filter_func(listBox, nothing) +Gtk4.set_sort_func(listBox, nothing) + destroy(win) end