Commit 98562e1a authored by Christian Persch's avatar Christian Persch

Remove unused function

parent 00b68a14
......@@ -49,29 +49,6 @@ rsvg_bpath_def_new (void)
return bpd;
}
RsvgBpathDef *
rsvg_bpath_def_new_from (RsvgBpath * path)
{
RsvgBpathDef *bpd;
int i;
g_return_val_if_fail (path != NULL, NULL);
for (i = 0; path[i].code != RSVG_END; i++);
if (i <= 0)
return rsvg_bpath_def_new ();
bpd = g_new (RsvgBpathDef, 1);
bpd->n_bpath = i;
bpd->n_bpath_max = i;
bpd->moveto_idx = -1;
bpd->bpath = g_new (RsvgBpath, i);
memcpy (bpd->bpath, path, i * sizeof (RsvgBpath));
return bpd;
}
void
rsvg_bpath_def_free (RsvgBpathDef * bpd)
{
......
......@@ -60,7 +60,6 @@ struct _RsvgBpathDef {
};
RsvgBpathDef *rsvg_bpath_def_new (void);
RsvgBpathDef *rsvg_bpath_def_new_from (RsvgBpath * bpath);
void rsvg_bpath_def_free (RsvgBpathDef * bpd);
......
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