*/
#include <config.h>
-#include <gtkmm.h>
-#include "frontends/WorkAreaFactory.h"
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
#include "GWorkArea.h"
+#include "frontends/WorkAreaFactory.h"
+
+#include <gtkmm.h>
+
namespace WorkAreaFactory {
-WorkArea * create(LyXView & owner, int /*x*/, int /*y*/, int w, int h)
+WorkArea * create(LyXView & owner, int w, int h)
{
- return new GWorkArea(owner, w, h);
+ return new lyx::frontend::GWorkArea(owner, w, h);
}