]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/WorkAreaFactory.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / WorkAreaFactory.C
index e1c74cf8274d46730ff05eb88daaec1fc37cde07..6c7b8ddf99ddd28dda816b0ddb7c4f59761d0f8d 100644 (file)
@@ -9,19 +9,25 @@
  */
 
 #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 w, int h)
 {
-       return new GWorkArea(owner, w, h);
+       return new lyx::frontend::GWorkArea(owner, w, h);
 }