Rename create_xml_push_parser()

parent dee021eb
...@@ -696,8 +696,8 @@ rsvg_set_xml_parse_options(xmlParserCtxtPtr xml_parser, ...@@ -696,8 +696,8 @@ rsvg_set_xml_parse_options(xmlParserCtxtPtr xml_parser,
} }
static xmlParserCtxtPtr static xmlParserCtxtPtr
create_xml_parser (RsvgHandle *handle, create_xml_push_parser (RsvgHandle *handle,
const char *base_uri) const char *base_uri)
{ {
xmlParserCtxtPtr parser; xmlParserCtxtPtr parser;
...@@ -1331,7 +1331,7 @@ rsvg_handle_write_impl (RsvgHandle * handle, const guchar * buf, gsize count, GE ...@@ -1331,7 +1331,7 @@ rsvg_handle_write_impl (RsvgHandle * handle, const guchar * buf, gsize count, GE
handle->priv->error = &real_error; handle->priv->error = &real_error;
if (handle->priv->ctxt == NULL) { if (handle->priv->ctxt == NULL) {
handle->priv->ctxt = create_xml_parser (handle, rsvg_handle_get_base_uri (handle)); handle->priv->ctxt = create_xml_push_parser (handle, rsvg_handle_get_base_uri (handle));
} }
result = xmlParseChunk (handle->priv->ctxt, (char *) buf, count, 0); result = xmlParseChunk (handle->priv->ctxt, (char *) buf, count, 0);
......
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