Make rsvg_state_dominate() static

It's only used within rsvg-styles.c
parent 468f9251
......@@ -494,8 +494,8 @@ dominatefunction (int dst, int src)
return 0;
}
void
rsvg_state_dominate (RsvgState * dst, const RsvgState * src)
static void
state_dominate (RsvgState * dst, const RsvgState * src)
{
rsvg_state_inherit_run (dst, src, dominatefunction, 0);
}
......@@ -1724,7 +1724,7 @@ rsvg_state_reinherit_top (RsvgDrawingCtx * ctx, RsvgState * state, int dominate)
rsvg_state_clone (current, state);
if (parent) {
if (dominate)
rsvg_state_dominate (current, parent);
state_dominate (current, parent);
else
rsvg_state_reinherit (current, parent);
cairo_matrix_multiply (&current->affine,
......
......@@ -202,8 +202,6 @@ void rsvg_state_inherit (RsvgState * dst, const RsvgState * src);
G_GNUC_INTERNAL
void rsvg_state_reinherit (RsvgState * dst, const RsvgState * src);
G_GNUC_INTERNAL
void rsvg_state_dominate (RsvgState * dst, const RsvgState * src);
G_GNUC_INTERNAL
void rsvg_state_override (RsvgState * dst, const RsvgState * src);
G_GNUC_INTERNAL
void rsvg_state_free_all (RsvgState * state);
......
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