summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2012-12-30 23:38:32 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2012-12-30 23:41:04 (GMT)
commitc9f60cf51dd1c83a7b8b623cdfe61c0e1c95ccdf (patch)
tree9422dea1250ae82d08934f9feb1a918473cfcd39
parent0f073d1103af4295b1aa9d2be2795f1d745f25e8 (diff)
downloadlibsvgtiny-c9f60cf51dd1c83a7b8b623cdfe61c0e1c95ccdf.tar.gz
libsvgtiny-c9f60cf51dd1c83a7b8b623cdfe61c0e1c95ccdf.tar.bz2
Drop const, as this can't work with libdom.
-rw-r--r--src/svgtiny.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/svgtiny.c b/src/svgtiny.c
index 137f2b0..403758b 100644
--- a/src/svgtiny.c
+++ b/src/svgtiny.c
@@ -42,12 +42,12 @@ static svgtiny_code svgtiny_parse_poly(dom_element *poly,
struct svgtiny_parse_state state, bool polygon);
static svgtiny_code svgtiny_parse_text(dom_element *text,
struct svgtiny_parse_state state);
-static void svgtiny_parse_position_attributes(const dom_element *node,
+static void svgtiny_parse_position_attributes(dom_element *node,
const struct svgtiny_parse_state state,
float *x, float *y, float *width, float *height);
-static void svgtiny_parse_paint_attributes(const dom_element *node,
+static void svgtiny_parse_paint_attributes(dom_element *node,
struct svgtiny_parse_state *state);
-static void svgtiny_parse_font_attributes(const dom_element *node,
+static void svgtiny_parse_font_attributes(dom_element *node,
struct svgtiny_parse_state *state);
static void svgtiny_parse_transform_attributes(dom_element *node,
struct svgtiny_parse_state *state);
@@ -1035,7 +1035,7 @@ svgtiny_code svgtiny_parse_text(dom_element *text,
* Parse x, y, width, and height attributes, if present.
*/
-void svgtiny_parse_position_attributes(const dom_element *node,
+void svgtiny_parse_position_attributes(dom_element *node,
const struct svgtiny_parse_state state,
float *x, float *y, float *width, float *height)
{
@@ -1127,7 +1127,7 @@ float svgtiny_parse_length(dom_string *s, int viewport_size,
* Parse paint attributes, if present.
*/
-void svgtiny_parse_paint_attributes(const dom_element *node,
+void svgtiny_parse_paint_attributes(dom_element *node,
struct svgtiny_parse_state *state)
{
dom_string *attr;
@@ -1264,7 +1264,7 @@ void svgtiny_parse_color(dom_string *s, svgtiny_colour *c,
* Parse font attributes, if present.
*/
-void svgtiny_parse_font_attributes(const dom_element *node,
+void svgtiny_parse_font_attributes(dom_element *node,
struct svgtiny_parse_state *state)
{
/* TODO: Implement this, it never used to be */