Fix gtk compilation with gcc 3.4, add preliminary pch.h for gtk

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9306 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Spray 2004-11-25 11:33:01 +00:00
parent 8eea28ec80
commit 3e498a40a5
2 changed files with 4 additions and 2 deletions

View File

@ -118,14 +118,14 @@ GViewCB<Controller, Base>::GViewCB(Dialog & parent, std::string const & t,
template <class Controller, class Base>
Controller & GViewCB<Controller, Base>::controller()
{
return static_cast<Controller &>(getController());
return static_cast<Controller &>(Dialog::View::getController());
}
template <class Controller, class Base>
Controller const & GViewCB<Controller, Base>::controller() const
{
return static_cast<Controller const &>(getController());
return static_cast<Controller const &>(Dialog::View::getController());
}
} // namespace frontend

2
src/frontends/gtk/pch.h Normal file
View File

@ -0,0 +1,2 @@
#include <config.h>