summaryrefslogtreecommitdiff
path: root/gtk/gtkcssprovider.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-04-18 19:43:24 +0200
committerBenjamin Otte <otte@redhat.com>2012-05-11 16:42:12 +0200
commite1317268a338589fd6fa01c303569cdc111b3f5e (patch)
tree9b13c514c5fa7746ac9c7b5da92d9973b2283741 /gtk/gtkcssprovider.c
parenta65780902a0b3a0497cf9c021f8a0d3e49a87cbd (diff)
downloadgtk+-e1317268a338589fd6fa01c303569cdc111b3f5e.tar.gz
cssparser: Change APIs that work with files
Now that we keep track of the parser's file, we don't require it to be passed anymore.
Diffstat (limited to 'gtk/gtkcssprovider.c')
-rw-r--r--gtk/gtkcssprovider.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 6ed7ddefc1..31bf88953f 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -1899,8 +1899,7 @@ parse_import (GtkCssScanner *scanner)
}
else
{
- file = _gtk_css_parser_read_url (scanner->parser,
- gtk_css_scanner_get_base_url (scanner));
+ file = _gtk_css_parser_read_url (scanner->parser);
}
if (file == NULL)