[librsvg] Rename create_xml_push_parser()



commit 6d94c6c99a08d0e657a728501813be329e8ca497
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 8632c43..750e973 100644
--- a/rsvg-base.c
+++ b/rsvg-base.c
@@ -696,8 +696,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;
 
@@ -1331,7 +1331,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]