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 /examples | |
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 'examples')
-rw-r--r-- | examples/plugman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plugman.c b/examples/plugman.c index 82006d60e6..3ce91ab78f 100644 --- a/examples/plugman.c +++ b/examples/plugman.c @@ -225,7 +225,7 @@ plugin_action (GAction *action, g_message ("Color: %s", g_action_get_name (action)); css_provider = gtk_css_provider_new (); - gtk_css_provider_load_from_data (css_provider, css_to_load, -1, NULL); + gtk_css_provider_load_from_data (css_provider, css_to_load, -1); gtk_style_context_add_provider_for_screen (gdk_screen_get_default (), GTK_STYLE_PROVIDER (css_provider), GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); |