rsvg_parse_style_pairs(): remove unused "ctx" argument

parent 7ae3b046
......@@ -217,7 +217,7 @@ rsvg_stop_set_atts (RsvgNode *node, gpointer impl, RsvgHandle *handle, RsvgPrope
if ((value = rsvg_property_bag_lookup (atts, "style")))
rsvg_parse_style (handle, state, value);
rsvg_parse_style_pairs (handle, state, atts);
rsvg_parse_style_pairs (state, atts);
inherited_state = rsvg_state_new ();
rsvg_state_reconstruct (inherited_state, node);
......
......@@ -936,7 +936,7 @@ rsvg_lookup_parse_style_pair (RsvgState * state,
/* take a pair of the form (fill="#ff00ff") and parse it as a style */
void
rsvg_parse_style_pairs (RsvgHandle * ctx, RsvgState * state, RsvgPropertyBag * atts)
rsvg_parse_style_pairs (RsvgState * state, RsvgPropertyBag * atts)
{
rsvg_lookup_parse_style_pair (state, "baseline-shift", atts);
rsvg_lookup_parse_style_pair (state, "clip-path", atts);
......@@ -1363,7 +1363,7 @@ rsvg_parse_style_attrs (RsvgHandle *ctx,
state = rsvg_node_get_state (node);
if (rsvg_property_bag_size (atts) > 0)
rsvg_parse_style_pairs (ctx, state, atts);
rsvg_parse_style_pairs (state, atts);
/* Try to properly support all of the following, including inheritance:
* *
......
......@@ -221,7 +221,7 @@ G_GNUC_INTERNAL
void rsvg_state_free_all (RsvgState * state);
G_GNUC_INTERNAL
void rsvg_parse_style_pairs (RsvgHandle * ctx, RsvgState * state, RsvgPropertyBag * atts);
void rsvg_parse_style_pairs (RsvgState * state, RsvgPropertyBag * atts);
G_GNUC_INTERNAL
void rsvg_parse_style (RsvgHandle * ctx, RsvgState * state, const char *str);
G_GNUC_INTERNAL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment