[librsvg] rsvg_parse_style_pairs(): remove unused "ctx" argument
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] rsvg_parse_style_pairs(): remove unused "ctx" argument
- Date: Wed, 22 Mar 2017 19:36:42 +0000 (UTC)
commit 18e8526227ddc6d3d963eaf36ba2a458ff7fef3b
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Mar 22 13:35:57 2017 -0600
rsvg_parse_style_pairs(): remove unused "ctx" argument
rsvg-paint-server.c | 2 +-
rsvg-styles.c | 4 ++--
rsvg-styles.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/rsvg-paint-server.c b/rsvg-paint-server.c
index 3caccbd..785f97c 100644
--- a/rsvg-paint-server.c
+++ b/rsvg-paint-server.c
@@ -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);
diff --git a/rsvg-styles.c b/rsvg-styles.c
index f2fbf46..ceeabce 100644
--- a/rsvg-styles.c
+++ b/rsvg-styles.c
@@ -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:
* *
diff --git a/rsvg-styles.h b/rsvg-styles.h
index 07f1cbc..44c991a 100644
--- a/rsvg-styles.h
+++ b/rsvg-styles.h
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]