diff --git a/src/frontends/gtk/GViewBase.h b/src/frontends/gtk/GViewBase.h index a312970baf..c289d5d3a0 100644 --- a/src/frontends/gtk/GViewBase.h +++ b/src/frontends/gtk/GViewBase.h @@ -118,14 +118,14 @@ GViewCB::GViewCB(Dialog & parent, std::string const & t, template Controller & GViewCB::controller() { - return static_cast(Dialog::View::getController()); + return static_cast(this->getController()); } template Controller const & GViewCB::controller() const { - return static_cast(Dialog::View::getController()); + return static_cast(this->getController()); } } // namespace frontend