summaryrefslogtreecommitdiff
path: root/tests/animated-revealing.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/animated-revealing.c')
-rw-r--r--tests/animated-revealing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/animated-revealing.c b/tests/animated-revealing.c
index 424c04ad8b..7d9f158625 100644
--- a/tests/animated-revealing.c
+++ b/tests/animated-revealing.c
@@ -66,7 +66,7 @@ main(int argc, char **argv)
gtk_revealer_set_child (GTK_REVEALER (revealer), grid);
cssprovider = gtk_css_provider_new ();
- gtk_css_provider_load_from_data (cssprovider, "* { padding: 2px; text-shadow: 5px 5px 2px grey; }", -1);
+ gtk_css_provider_load_from_string (cssprovider, "* { padding: 2px; text-shadow: 5px 5px 2px grey; }");
gtk_style_context_add_provider_for_display (gdk_display_get_default (),
GTK_STYLE_PROVIDER (cssprovider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);