summaryrefslogtreecommitdiffstats
path: root/src/sp-mesh-array.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2012-10-04 16:06:34 +0000
committer~suv <suv-sf@users.sourceforge.net>2012-10-04 16:06:34 +0000
commit9934562291b4604c611776063ced8b75e111d3f2 (patch)
treea7a3b4f9d5327cf9f001de090b223a75ec0347ee /src/sp-mesh-array.cpp
parentmerge from trunk (r11734) (diff)
parentcode cleanup: make more functions static, add includes. (diff)
downloadinkscape-9934562291b4604c611776063ced8b75e111d3f2.tar.gz
inkscape-9934562291b4604c611776063ced8b75e111d3f2.zip
merge from trunk (r11737)
(bzr r11668.1.23)
Diffstat (limited to 'src/sp-mesh-array.cpp')
-rw-r--r--src/sp-mesh-array.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-mesh-array.cpp b/src/sp-mesh-array.cpp
index 2b7611bde..3b2d33bbd 100644
--- a/src/sp-mesh-array.cpp
+++ b/src/sp-mesh-array.cpp
@@ -72,7 +72,7 @@
enum { ROW, COL };
-void swap_p( Geom::Point *p1, Geom::Point *p2 ) {
+static void swap_p( Geom::Point *p1, Geom::Point *p2 ) {
Geom::Point temp = *p1;
*p1 = *p2;
*p2 = temp;
@@ -957,7 +957,7 @@ void SPMeshNodeArray::write( SPMeshGradient *mg ) {
Find default color based on color of first stop in "vector" gradient.
This should be rewritten if dependence on "vector" is removed.
*/
-SPColor default_color( SPItem *item ) {
+static SPColor default_color( SPItem *item ) {
// Set initial color to the color of the object before adding the mesh.
// This is a bit tricky as at the moment, a "vector" gradient is created