diff --git a/testsuite/gtk/cssprovider.c b/testsuite/gtk/cssprovider.c index 0272c6b9fd..da44a0371c 100644 --- a/testsuite/gtk/cssprovider.c +++ b/testsuite/gtk/cssprovider.c @@ -33,13 +33,13 @@ test_section_in_style_property (void) provider = gtk_css_provider_new (); g_signal_connect (provider, "parsing-error", G_CALLBACK (assert_section_is_not_null), NULL); - gtk_css_provider_load_from_data (provider, "* { -GtkTreeView:indent-expanders: random garbage goes here; }", -1); + gtk_css_provider_load_from_data (provider, "* { -GtkScrollbar::has-backward-stepper random garbage goes here; }", -1); - widget_class = g_type_class_ref (GTK_TYPE_TREE_VIEW); - pspec = gtk_widget_class_find_style_property (widget_class, "indent-expanders"); + widget_class = g_type_class_ref (GTK_TYPE_SCROLLBAR); + pspec = gtk_widget_class_find_style_property (widget_class, "has-backward-stepper"); g_assert (pspec); path = gtk_widget_path_new (); - gtk_widget_path_append_type (path, GTK_TYPE_TREE_VIEW); + gtk_widget_path_append_type (path, GTK_TYPE_SCROLLBAR); G_GNUC_BEGIN_IGNORE_DEPRECATIONS; gtk_style_provider_get_style_property (GTK_STYLE_PROVIDER (provider), path, 0, pspec, &value);