Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-core / tags / stable / src / modules / lyr_std / booleancurve.cpp
index 30619bf..d7b87db 100644 (file)
@@ -68,7 +68,7 @@ BooleanCurve::~BooleanCurve()
 
 bool BooleanCurve::set_param(const String & param, const synfig::ValueBase &value)
 {
-       if(param=="regions" && value.same_as(regions))
+       if(param=="regions" && value.same_type_as(regions))
        {
                vector<BLinePoint> bv;
                int size = value.get_list().size();
@@ -108,14 +108,14 @@ Layer::Vocab BooleanCurve::get_param_vocab()const
        return ret;
 }
 
-Color BooleanCurve::get_color(Context context, const Point &pos)const
+Color BooleanCurve::get_color(Context /*context*/, const Point &/*pos*/)const
 {
        Color c(Color::alpha());
 
        return c;
 }
 
-bool BooleanCurve::accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const
+bool BooleanCurve::accelerated_render(Context /*context*/,Surface */*surface*/,int /*quality*/, const RendDesc &/*renddesc*/, ProgressCallback */*cb*/)const
 {
        return false;
 }