diff options
author | Benjamin Otte <otte@redhat.com> | 2019-03-22 04:20:17 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-04-12 19:34:28 +0200 |
commit | a938c14d11b1a0036f4bddd6b5c46382523381bb (patch) | |
tree | d1114f46c72c25abce77b26fb7fa75869021a3b5 /gtk/gtkcssimageurl.c | |
parent | d6cc10ea7469b72feac164739c44ed502769c67b (diff) | |
download | gtk+-a938c14d11b1a0036f4bddd6b5c46382523381bb.tar.gz |
build: Add gtk-css static library
This library is meant to be the new CSS library that gets used from GDK,
GSK and GTK for string printing and parsing.
As a first step, move GtkCssProviderError into it.
While doing so, split it into GtkCssParserError (for critical problems)
and GtkCssParserWarning (for non-critical problems).
Diffstat (limited to 'gtk/gtkcssimageurl.c')
-rw-r--r-- | gtk/gtkcssimageurl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcssimageurl.c b/gtk/gtkcssimageurl.c index 042ade52ff..b4db3740a4 100644 --- a/gtk/gtkcssimageurl.c +++ b/gtk/gtkcssimageurl.c @@ -65,8 +65,8 @@ gtk_css_image_url_load_image (GtkCssImageUrl *url, uri = g_file_get_uri (url->file); g_set_error (error, - GTK_CSS_PROVIDER_ERROR, - GTK_CSS_PROVIDER_ERROR_FAILED, + GTK_CSS_PARSER_ERROR, + GTK_CSS_PARSER_ERROR_FAILED, "Error loading image '%s': %s", uri, local_error->message); g_free (uri); } |