aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-09-15 16:16:47 -0700
committerSaul Wold <sgw@linux.intel.com>2011-09-15 16:21:37 -0700
commite9a1c9433b9500feb7e3b9bb135debcea3a3e651 (patch)
treea3c4c47f30f86926524404f95f494cc06b778bd2
parent96da839f65e17ecc6d5261c1d74accd88423dd7a (diff)
downloadweb-sato-master.tar.gz
web-sato-master.tar.bz2
web-sato-master.zip
Revert patches that changed the number of paramters.HEADmaster
Revert "web_gtkthml: Sync css_parser api call with gtkhtml" Revert "Update to work with recent versions of gtkhtml" We for a time lost a patch to the gtkhtml2 code which set changed the parmeters, this patch was been reactivated and thus we need to remove the previous changes. This reverts commit 96da839f65e17ecc6d5261c1d74accd88423dd7a. This reverts commit 8adaf105a0cbfd835ea5d3915d7dee22586208e7. Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--src/gtkhtml2/web_gtkhtml2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkhtml2/web_gtkhtml2.c b/src/gtkhtml2/web_gtkhtml2.c
index 00596dd..1cce591 100644
--- a/src/gtkhtml2/web_gtkhtml2.c
+++ b/src/gtkhtml2/web_gtkhtml2.c
@@ -522,7 +522,7 @@ web_gtkhtml2_add_style (gpointer backend_data, gpointer page_data,
css->style = g_strdup (style);
css->media = g_strdup (media);
css->sheet = css_parser_parse_stylesheet (css->style,
- strlen (css->style), NULL);
+ strlen (css->style), NULL, css->media);
data->sheets = g_slist_prepend (
data->sheets, css);