[librsvg/librsvg-2.44] state: cleanup unused exports and declarations



commit 1bcb309c6270ce138db5b54a3640529f41c5d4af
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Sep 2 11:52:05 2018 +0200

    state: cleanup unused exports and declarations
    
    The C side does not call these state functions anymore

 librsvg/rsvg-styles.h     | 21 +++------------------
 rsvg_internals/src/lib.rs |  2 +-
 2 files changed, 4 insertions(+), 19 deletions(-)
---
diff --git a/librsvg/rsvg-styles.h b/librsvg/rsvg-styles.h
index 596f1151..7ba81672 100644
--- a/librsvg/rsvg-styles.h
+++ b/librsvg/rsvg-styles.h
@@ -27,32 +27,17 @@
 #ifndef RSVG_STYLES_H
 #define RSVG_STYLES_H
 
-#include <cairo.h>
-#include "rsvg.h"
-#include "rsvg-css.h"
-
-#include <libxml/SAX.h>
+#include <glib.h>
+#include "rsvg-private.h"
 
 G_BEGIN_DECLS 
 
-/* Defined in rsvg_internals/src/state.rs */
-G_GNUC_INTERNAL
-void rsvg_state_free (RsvgState *state);
-
 G_GNUC_INTERNAL
 void rsvg_parse_cssbuffer (RsvgHandle *handle, const char *buff, size_t buflen);
 
-/* Defined in rsvg_internals/src/state.rs */
-G_GNUC_INTERNAL
-void rsvg_parse_style_attrs (RsvgHandle *handle, RsvgNode *node, const char *tag, RsvgPropertyBag * atts);
-
 G_GNUC_INTERNAL
 gboolean rsvg_lookup_apply_css_style (RsvgHandle *handle, const char *target, RsvgState * state);
 
-/* Defined in rsvg_internals/src/state.rs */
-G_GNUC_INTERNAL
-RsvgState *rsvg_state_parent (RsvgState *state);
-
 G_END_DECLS
 
-#endif                          /* RSVG_STYLES_H */
+#endif /* RSVG_STYLES_H */
diff --git a/rsvg_internals/src/lib.rs b/rsvg_internals/src/lib.rs
index be50e9ad..1f6aca0e 100644
--- a/rsvg_internals/src/lib.rs
+++ b/rsvg_internals/src/lib.rs
@@ -71,7 +71,7 @@ pub use property_bag::{
     rsvg_property_bag_new,
 };
 
-pub use state::{rsvg_state_free, rsvg_state_new, rsvg_state_parse_style_pair};
+pub use state::rsvg_state_parse_style_pair;
 
 pub use structure::rsvg_node_svg_get_size;
 


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