mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
8eea28ec80
commit
3e498a40a5
@ -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
2
src/frontends/gtk/pch.h
Normal file
@ -0,0 +1,2 @@
|
||||
#include <config.h>
|
||||
|
Loading…
Reference in New Issue
Block a user