Added base_url to webkit load function

Without that, using external CSS files is impossible
This commit is contained in:
Gergely Polonkai 2013-09-19 23:17:43 +02:00
parent fcb75f672b
commit d6df0e4690
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ ag_window_redraw_chart(AgWindow *window)
if (svg_content == NULL) {
g_warning("%s", err->message);
} else {
webkit_web_view_load_string(WEBKIT_WEB_VIEW(window->priv->tab_chart), svg_content, "image/svg+xml", "UTF-8", NULL);
webkit_web_view_load_string(WEBKIT_WEB_VIEW(window->priv->tab_chart), svg_content, "image/svg+xml", "UTF-8", "file://");
g_free(svg_content);
}
}