summaryrefslogtreecommitdiffstats
path: root/src/draw-context.cpp
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-04 01:45:44 +0000
committerCampbell Barton <ideasman42@gmail.com>2012-10-04 01:45:44 +0000
commit370a3f5cc9e39352a081e5d5dd8c43676547a6e6 (patch)
tree3e7b18853b1902c189a5d1972db490c561b0b538 /src/draw-context.cpp
parentextensions. Extrude. allow selection of multiple objects (Bug 1055155) (diff)
downloadinkscape-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/draw-context.cpp')
-rw-r--r--src/draw-context.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/draw-context.cpp b/src/draw-context.cpp
index e33c94bda..daff0794a 100644
--- a/src/draw-context.cpp
+++ b/src/draw-context.cpp
@@ -44,6 +44,7 @@
#include "live_effects/lpe-powerstroke.h"
#include "style.h"
#include "ui/control-manager.h"
+#include "draw-context.h"
#include <gdk/gdkkeysyms.h>
@@ -304,7 +305,7 @@ static void spdc_apply_powerstroke_shape(const std::vector<Geom::Point> & points
lpe->getRepr()->setAttribute("interpolator_beta", "0.2");
}
-void spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item, SPCurve *curve)
+static void spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item, SPCurve *curve)
{
using namespace Inkscape::LivePathEffect;
Inkscape::Preferences *prefs = Inkscape::Preferences::get();