summaryrefslogtreecommitdiff
path: root/tests/testheaderbar.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/testheaderbar.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/testheaderbar.c')
-rw-r--r--tests/testheaderbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testheaderbar.c b/tests/testheaderbar.c
index 26a4d7200f..c766e4ce49 100644
--- a/tests/testheaderbar.c
+++ b/tests/testheaderbar.c
@@ -139,7 +139,7 @@ main (int argc, char *argv[])
gtk_style_context_add_class (gtk_widget_get_style_context (window), "main");
provider = gtk_css_provider_new ();
- gtk_css_provider_load_from_data (provider, css, -1, NULL);
+ gtk_css_provider_load_from_data (provider, css, -1);
gtk_style_context_add_provider_for_screen (gtk_widget_get_screen (window),
GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_USER);