From 3e498a40a5b68407d9f3de84c9aec7f836a59c38 Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 25 Nov 2004 11:33:01 +0000 Subject: [PATCH] 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 --- src/frontends/gtk/GViewBase.h | 4 ++-- src/frontends/gtk/pch.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 src/frontends/gtk/pch.h diff --git a/src/frontends/gtk/GViewBase.h b/src/frontends/gtk/GViewBase.h index 8de3237132..a312970baf 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(getController()); + return static_cast(Dialog::View::getController()); } template Controller const & GViewCB::controller() const { - return static_cast(getController()); + return static_cast(Dialog::View::getController()); } } // namespace frontend diff --git a/src/frontends/gtk/pch.h b/src/frontends/gtk/pch.h new file mode 100644 index 0000000000..66427e4318 --- /dev/null +++ b/src/frontends/gtk/pch.h @@ -0,0 +1,2 @@ +#include +