[librsvg] unit_interval: rename file to follow rust conventions
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] unit_interval: rename file to follow rust conventions
- Date: Sat, 29 Dec 2018 18:06:24 +0000 (UTC)
commit ae2affdce3cce7ad198300bea0fea8996a10e267
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Dec 29 12:19:16 2018 +0100
unit_interval: rename file to follow rust conventions
Makefile.am | 2 +-
po/POTFILES.in | 2 +-
rsvg_internals/src/drawing_ctx.rs | 2 +-
rsvg_internals/src/filters/context.rs | 2 +-
rsvg_internals/src/gradient.rs | 2 +-
rsvg_internals/src/lib.rs | 2 +-
rsvg_internals/src/paint_server.rs | 2 +-
rsvg_internals/src/pattern.rs | 2 +-
rsvg_internals/src/state.rs | 2 +-
rsvg_internals/src/{unitinterval.rs => unit_interval.rs} | 0
10 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 9f7fb752..07ac0640 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -116,7 +116,7 @@ RUST_SRC = \
rsvg_internals/src/transform.rs \
rsvg_internals/src/tree.rs \
rsvg_internals/src/tree_utils/mod.rs \
- rsvg_internals/src/unitinterval.rs \
+ rsvg_internals/src/unit_interval.rs \
rsvg_internals/src/util.rs \
rsvg_internals/src/viewbox.rs \
rsvg_internals/src/viewport.rs \
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 061dcfec..2939779d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -86,7 +86,7 @@ rsvg_internals/src/surface_utils/shared_surface.rs
rsvg_internals/src/text.rs
rsvg_internals/src/transform.rs
rsvg_internals/src/tree.rs
-rsvg_internals/src/unitinterval.rs
+rsvg_internals/src/unit_interval.rs
rsvg_internals/src/util.rs
rsvg_internals/src/viewbox.rs
rsvg_internals/src/viewport.rs
diff --git a/rsvg_internals/src/drawing_ctx.rs b/rsvg_internals/src/drawing_ctx.rs
index dee538c7..3a768274 100644
--- a/rsvg_internals/src/drawing_ctx.rs
+++ b/rsvg_internals/src/drawing_ctx.rs
@@ -34,7 +34,7 @@ use state::{
StrokeLinejoin,
TextRendering,
};
-use unitinterval::UnitInterval;
+use unit_interval::UnitInterval;
use viewbox::ViewBox;
/// Holds values that are required to normalize `Length` values to a current viewport.
diff --git a/rsvg_internals/src/filters/context.rs b/rsvg_internals/src/filters/context.rs
index 6941f85b..5c31c48d 100644
--- a/rsvg_internals/src/filters/context.rs
+++ b/rsvg_internals/src/filters/context.rs
@@ -13,7 +13,7 @@ use paint_server::{self, PaintServer};
use rect::IRect;
use state::ComputedValues;
use surface_utils::shared_surface::{SharedImageSurface, SurfaceType};
-use unitinterval::UnitInterval;
+use unit_interval::UnitInterval;
use super::error::FilterError;
use super::input::Input;
diff --git a/rsvg_internals/src/gradient.rs b/rsvg_internals/src/gradient.rs
index 73c11651..ae20dc88 100644
--- a/rsvg_internals/src/gradient.rs
+++ b/rsvg_internals/src/gradient.rs
@@ -18,7 +18,7 @@ use property_bag::PropertyBag;
use rect::RectangleExt;
use state::{ComputedValues, StopColor};
use stop::*;
-use unitinterval::UnitInterval;
+use unit_interval::UnitInterval;
#[derive(Copy, Clone)]
pub struct ColorStop {
diff --git a/rsvg_internals/src/lib.rs b/rsvg_internals/src/lib.rs
index 771c6dd5..f8a66c23 100644
--- a/rsvg_internals/src/lib.rs
+++ b/rsvg_internals/src/lib.rs
@@ -119,7 +119,7 @@ mod text;
mod transform;
mod tree;
pub mod tree_utils;
-mod unitinterval;
+mod unit_interval;
mod util;
mod viewbox;
mod viewport;
diff --git a/rsvg_internals/src/paint_server.rs b/rsvg_internals/src/paint_server.rs
index 0e812fab..34ff0d4d 100644
--- a/rsvg_internals/src/paint_server.rs
+++ b/rsvg_internals/src/paint_server.rs
@@ -9,7 +9,7 @@ use node::{NodeType, RsvgNode};
use parsers::Parse;
use pattern::NodePattern;
use state::ComputedValues;
-use unitinterval::UnitInterval;
+use unit_interval::UnitInterval;
#[derive(Debug, Clone, PartialEq)]
pub enum PaintServer {
diff --git a/rsvg_internals/src/pattern.rs b/rsvg_internals/src/pattern.rs
index 9064dd6d..b2de0bf6 100644
--- a/rsvg_internals/src/pattern.rs
+++ b/rsvg_internals/src/pattern.rs
@@ -20,7 +20,7 @@ use paint_server::PaintSource;
use parsers::{parse, parse_and_validate};
use property_bag::PropertyBag;
use state::ComputedValues;
-use unitinterval::UnitInterval;
+use unit_interval::UnitInterval;
use viewbox::*;
coord_units!(PatternUnits, CoordUnits::ObjectBoundingBox);
diff --git a/rsvg_internals/src/state.rs b/rsvg_internals/src/state.rs
index f90f172d..112d3b53 100644
--- a/rsvg_internals/src/state.rs
+++ b/rsvg_internals/src/state.rs
@@ -12,7 +12,7 @@ use paint_server::PaintServer;
use parsers::{Parse, ParseError};
use property_bag::PropertyBag;
use property_macros::Property;
-use unitinterval::UnitInterval;
+use unit_interval::UnitInterval;
/// Representation of a single CSS property value.
///
diff --git a/rsvg_internals/src/unitinterval.rs b/rsvg_internals/src/unit_interval.rs
similarity index 100%
rename from rsvg_internals/src/unitinterval.rs
rename to rsvg_internals/src/unit_interval.rs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]