]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GPrint.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GPrint.C
index 0347d197b61ae7d2dded96488e7555dfcd9a2716..db3b2399eff43b8efaf14ccb957d3c0ce6d0b97a 100644 (file)
@@ -9,17 +9,23 @@
  */
 
 #include <config.h>
-#include <gtkmm.h>
-#include <libglademm.h>
+
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
 
 #include "GPrint.h"
 #include "ControlPrint.h"
 #include "ghelpers.h"
 
 #include "PrinterParams.h"
+
 #include "support/lstrings.h"
 #include "support/tostr.h"
 
+#include <libglademm.h>
+
 using std::string;
 using namespace lyx::support;
 
@@ -147,7 +153,6 @@ void GPrint::doBuild()
 
        Gtk::Button * ok;
        Gtk::Button * cancel;
-       Gtk::Button * apply;
        xml_->get_widget("PrintButton", ok);
        xml_->get_widget("CancelButton", cancel);