summaryrefslogtreecommitdiff
path: root/tests/testlevelbar.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-10-17 16:09:12 +0200
committerBenjamin Otte <otte@redhat.com>2016-10-17 16:52:05 +0200
commitdbeeaf7de681d3471b73f5722dd94451d66af642 (patch)
treeae0930302e7caf3740ef26673eb79622f000435c /tests/testlevelbar.c
parent55e599c5617177878b44a49400f23c6ffcd4200b (diff)
downloadgtk+-dbeeaf7de681d3471b73f5722dd94451d66af642.tar.gz
cssprovider: Remove GError out argument from load functions
People should use the GtkCssProvider::parsing-error signal instead.
Diffstat (limited to 'tests/testlevelbar.c')
-rw-r--r--tests/testlevelbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testlevelbar.c b/tests/testlevelbar.c
index 233d216871..ccf4141cbd 100644
--- a/tests/testlevelbar.c
+++ b/tests/testlevelbar.c
@@ -34,7 +34,7 @@ add_custom_css (void)
"}";
provider = gtk_css_provider_new ();
- gtk_css_provider_load_from_data (provider, data, -1, NULL);
+ gtk_css_provider_load_from_data (provider, data, -1);
gtk_style_context_add_provider_for_screen (gdk_screen_get_default (),
GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);