diff options
author | Benjamin Otte <otte@redhat.com> | 2016-10-17 16:09:12 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-10-17 16:52:05 +0200 |
commit | dbeeaf7de681d3471b73f5722dd94451d66af642 (patch) | |
tree | ae0930302e7caf3740ef26673eb79622f000435c /tests/testheaderbar.c | |
parent | 55e599c5617177878b44a49400f23c6ffcd4200b (diff) | |
download | gtk+-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.c | 2 |
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); |