[librsvg/librsvg-2.40] Rename create_xml_push_parser()



commit 2bde0d3c103f6e4e4867dad9357fa677b519909d
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Oct 3 19:49:59 2017 -0500

    Rename create_xml_push_parser()

 rsvg-base.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/rsvg-base.c b/rsvg-base.c
index 69a93b4..b44bc11 100644
--- a/rsvg-base.c
+++ b/rsvg-base.c
@@ -590,8 +590,8 @@ rsvg_set_xml_parse_options(xmlParserCtxtPtr xml_parser,
 }
 
 static xmlParserCtxtPtr
-create_xml_parser (RsvgHandle *handle,
-                   const char *base_uri)
+create_xml_push_parser (RsvgHandle *handle,
+                        const char *base_uri)
 {
     xmlParserCtxtPtr parser;
 
@@ -1182,7 +1182,7 @@ rsvg_handle_write_impl (RsvgHandle * handle, const guchar * buf, gsize count, GE
     handle->priv->error = &real_error;
 
     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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]