Commit 3ce73ba5 authored by Paolo Borelli's avatar Paolo Borelli

state: cleanup unused exports and declarations

The C side does not call these state functions anymore
parent eda6245a
......@@ -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 */
......@@ -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;
......
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