diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2012-10-04 01:45:44 +0000 |
|---|---|---|
| committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-04 01:45:44 +0000 |
| commit | 370a3f5cc9e39352a081e5d5dd8c43676547a6e6 (patch) | |
| tree | 3e7b18853b1902c189a5d1972db490c561b0b538 /src/gradient-context.cpp | |
| parent | extensions. Extrude. allow selection of multiple objects (Bug 1055155) (diff) | |
| download | inkscape-370a3f5cc9e39352a081e5d5dd8c43676547a6e6.tar.gz inkscape-370a3f5cc9e39352a081e5d5dd8c43676547a6e6.zip | |
code cleanup: add own includes to cpp files or make the functions static if they are not used elsewhere.
(bzr r11735)
Diffstat (limited to 'src/gradient-context.cpp')
| -rw-r--r-- | src/gradient-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gradient-context.cpp b/src/gradient-context.cpp index 5b0e261de..231490771 100644 --- a/src/gradient-context.cpp +++ b/src/gradient-context.cpp @@ -266,7 +266,7 @@ sp_gradient_context_is_over_line (SPGradientContext *rc, SPItem *item, Geom::Poi return close; } -std::vector<Geom::Point> +static std::vector<Geom::Point> sp_gradient_context_get_stop_intervals (GrDrag *drag, GSList **these_stops, GSList **next_stops) { std::vector<Geom::Point> coords; @@ -419,7 +419,7 @@ sp_gradient_context_add_stops_between_selected_stops (SPGradientContext *rc) g_slist_free (new_stops); } -double sqr(double x) {return x*x;} +static double sqr(double x) {return x*x;} static void sp_gradient_simplify(SPGradientContext *rc, double tolerance) |
