summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-03-28 08:43:49 +0000
committerrwst <rwst@users.sourceforge.net>2006-03-28 08:43:49 +0000
commitecade0963967e2bf314b6f26fa31b112aaf9c633 (patch)
treed24b12f23f1589867529dfa34015841f0957729e /src
parenttry to fix g++ 4.1 compile errors (diff)
downloadinkscape-ecade0963967e2bf314b6f26fa31b112aaf9c633.tar.gz
inkscape-ecade0963967e2bf314b6f26fa31b112aaf9c633.zip
more g++ 4.1 fixes (by inkblotter)
(bzr r318)
Diffstat (limited to 'src')
-rw-r--r--src/removeoverlap/constraint.h2
-rw-r--r--src/trace/siox.h4
-rw-r--r--src/ui/widget/color-picker.cpp1
3 files changed, 4 insertions, 3 deletions
diff --git a/src/removeoverlap/constraint.h b/src/removeoverlap/constraint.h
index c8273376b..de8ccebd4 100644
--- a/src/removeoverlap/constraint.h
+++ b/src/removeoverlap/constraint.h
@@ -25,7 +25,7 @@ public:
double lm;
Constraint(Variable *left, Variable *right, double gap);
~Constraint(void){};
- inline double Constraint::slack() const { return right->position() - gap - left->position(); }
+ inline double slack() const { return right->position() - gap - left->position(); }
//inline bool operator<(Constraint const &o) const { return slack() < o.slack(); }
long timeStamp;
bool active;
diff --git a/src/trace/siox.h b/src/trace/siox.h
index cfb7ea19c..4020fe343 100644
--- a/src/trace/siox.h
+++ b/src/trace/siox.h
@@ -274,7 +274,7 @@ public:
*
* @see #segmentate
*/
- void SioxSegmentator::subpixelRefine(int x, int y, int brushmode,
+ void subpixelRefine(int x, int y, int brushmode,
float threshold, float *cf, int brushsize);
/**
@@ -302,7 +302,7 @@ public:
*
* @see #segmentate
*/
- bool SioxSegmentator::subpixelRefine(int xa, int ya, int dx, int dy,
+ bool subpixelRefine(int xa, int ya, int dx, int dy,
int brushmode,
float threshold, float *cf);
/**
diff --git a/src/ui/widget/color-picker.cpp b/src/ui/widget/color-picker.cpp
index ef8c491d0..a8cdba61e 100644
--- a/src/ui/widget/color-picker.cpp
+++ b/src/ui/widget/color-picker.cpp
@@ -25,6 +25,7 @@ namespace Inkscape {
namespace UI {
namespace Widget {
+void sp_color_picker_color_mod(SPColorSelector *csel, GObject *cp);
ColorPicker::ColorPicker (const Glib::ustring& title, const Glib::ustring& tip,
guint32 rgba, bool undo)