[librsvg] RsvgSaxHandler: this is private; move it to rsvg-base.c



commit 562ffa56f0dcc01bf484e1509db62f9f8eb730a1
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Mar 26 16:43:36 2018 -0600

    RsvgSaxHandler: this is private; move it to rsvg-base.c

 librsvg/rsvg-base.c    | 7 +++++++
 librsvg/rsvg-private.h | 7 -------
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/librsvg/rsvg-base.c b/librsvg/rsvg-base.c
index 3108faaf..94896289 100644
--- a/librsvg/rsvg-base.c
+++ b/librsvg/rsvg-base.c
@@ -95,6 +95,13 @@ double rsvg_internal_dpi_x = RSVG_DEFAULT_DPI_X;
 G_GNUC_INTERNAL
 double rsvg_internal_dpi_y = RSVG_DEFAULT_DPI_Y;
 
+struct RsvgSaxHandler {
+    void (*free) (RsvgSaxHandler * self);
+    void (*start_element) (RsvgSaxHandler * self, const char *name, RsvgPropertyBag atts);
+    void (*end_element) (RsvgSaxHandler * self, const char *name);
+    void (*characters) (RsvgSaxHandler * self, const char *ch, gssize len);
+};
+
 static xmlSAXHandler rsvgSAXHandlerStruct;
 static gboolean rsvgSAXHandlerStructInited = FALSE;
 
diff --git a/librsvg/rsvg-private.h b/librsvg/rsvg-private.h
index e8e983ee..cae67090 100644
--- a/librsvg/rsvg-private.h
+++ b/librsvg/rsvg-private.h
@@ -116,13 +116,6 @@ typedef struct _RsvgFilter RsvgFilter;
  */
 #define RSVG_ONE_MINUS_EPSILON (1.0 - DBL_EPSILON)
 
-struct RsvgSaxHandler {
-    void (*free) (RsvgSaxHandler * self);
-    void (*start_element) (RsvgSaxHandler * self, const char *name, RsvgPropertyBag atts);
-    void (*end_element) (RsvgSaxHandler * self, const char *name);
-    void (*characters) (RsvgSaxHandler * self, const char *ch, gssize len);
-};
-
 /* Reading state for an RsvgHandle */
 typedef enum {
     RSVG_HANDLE_STATE_START,


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