diff --git a/chalk/plugins/viewplugins/scripting/chalkcore/krs_iterator.h b/chalk/plugins/viewplugins/scripting/chalkcore/krs_iterator.h index 86ee66f7e..9b5f5b6b1 100644 --- a/chalk/plugins/viewplugins/scripting/chalkcore/krs_iterator.h +++ b/chalk/plugins/viewplugins/scripting/chalkcore/krs_iterator.h @@ -137,12 +137,12 @@ class Iterator : public Kross::Api::Class >, private IteratorMem } initiales = initiales.upper(); // set/get general - addFunction("set" + initiales, &Iterator::setPixel); - addFunction("get" + initiales, &Iterator::getPixel); + this->addFunction("set" + initiales, &Iterator::setPixel); + this->addFunction("get" + initiales, &Iterator::getPixel); kdDebug(41011) << ( "get" + initiales ) << endl; // Various colorSpace - addFunction("invertColor", &Iterator::invertColor); - addFunction("darken", &Iterator::darken); + this->addFunction("invertColor", &Iterator::invertColor); + this->addFunction("darken", &Iterator::darken); } ~Iterator()