[librsvg/rustify-rsvg-convert: 7/7] Remove color utils and rsvg-css.h private header.




commit 90fb1f8e6b0dbbee5a721c524b601883a0129afd
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Jan 17 17:46:26 2021 +0100

    Remove color utils and rsvg-css.h private header.
    
    They were only used by the C version of rsvg-convert.

 Makefile.am                |   2 -
 doc/Makefile.am            |   4 +-
 include/librsvg/rsvg-css.h |  63 ----------------
 po/POTFILES.in             |   1 -
 rsvg-c-srcs.mk             |   4 -
 src/c_api/color_utils.rs   | 179 ---------------------------------------------
 src/c_api/mod.rs           |   3 -
 7 files changed, 1 insertion(+), 255 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 68964152..ceaf2c15 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,6 @@ include rsvg-c-srcs.mk
 
 librsvg_@RSVG_API_MAJOR_VERSION@_la_SOURCES =  \
        $(librsvg_public_headers)               \
-       $(librsvg_private_headers)              \
        $(NULL)
 
 LIBRSVG_SRC =                                  \
@@ -31,7 +30,6 @@ LIBRSVG_SRC =                                 \
        src/api.rs                              \
        src/aspect_ratio.rs                     \
        src/bbox.rs                             \
-       src/c_api/color_utils.rs                \
        src/c_api/dpi.rs                        \
        src/c_api/handle.rs                     \
        src/c_api/messages.rs                   \
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 5d383a5f..63f6701d 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -62,9 +62,7 @@ EXTRA_HFILES = $(top_builddir)/include/librsvg/rsvg-version.h
 
 # Header files to ignore when scanning. Use base file name, no paths
 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
-IGNORE_HFILES =                        \
-       config.h                \
-       rsvg-css.h
+IGNORE_HFILES = config.h
 
 # Images to copy into HTML directory.
 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e8e277ad..0eec6d32 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -4,7 +4,6 @@ src/angle.rs
 src/api.rs
 src/aspect_ratio.rs
 src/bbox.rs
-src/c_api/color_utils.rs
 src/c_api/dpi.rs
 src/c_api/handle.rs
 src/c_api/messages.rs
diff --git a/rsvg-c-srcs.mk b/rsvg-c-srcs.mk
index 3c4756d9..3bc0de7c 100644
--- a/rsvg-c-srcs.mk
+++ b/rsvg-c-srcs.mk
@@ -4,7 +4,3 @@ librsvg_public_headers =                \
        include/librsvg/rsvg-features.h \
        include/librsvg/rsvg-version.h  \
        $(NULL)
-
-librsvg_private_headers =              \
-       include/librsvg/rsvg-css.h      \
-       $(NULL)
diff --git a/src/c_api/mod.rs b/src/c_api/mod.rs
index d437b56f..fc14ab0d 100644
--- a/src/c_api/mod.rs
+++ b/src/c_api/mod.rs
@@ -33,8 +33,6 @@ pub use handle::{
     rsvg_handle_write,
 };
 
-pub use color_utils::rsvg_css_parse_color;
-
 pub use dpi::{rsvg_set_default_dpi, rsvg_set_default_dpi_x_y};
 
 #[rustfmt::skip]
@@ -49,7 +47,6 @@ pub use pixbuf_utils::{
 #[macro_use]
 mod messages;
 
-mod color_utils;
 mod dpi;
 mod handle;
 pub mod pixbuf_utils;


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