]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GText.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GText.C
index 0f4eff37e33087c11306a71e91121f51f0b3d78c..2f28716cd5280727163553415bbeab7956a93573 100644 (file)
@@ -9,15 +9,22 @@
  */
 
 #include <config.h>
-#include <gtkmm.h>
-#include <libglademm.h>
 
-#include "support/lstrings.h"
-#include "ControlCommand.h"
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
+
 #include "GText.h"
+#include "ControlCommand.h"
 #include "ghelpers.h"
 #include "IdSc.h"
 
+#include "support/lstrings.h"
+
+#include <gtkmm.h>
+#include <libglademm.h>
+
 using std::string;
 
 namespace lyx {
@@ -67,7 +74,7 @@ void GText::doBuild()
        setRestore(restore);
        bcview().addReadOnly(entry_);
        entry_->signal_changed().connect(
-               SigC::slot(*this, &GText::onEntryChanged));
+               sigc::mem_fun(*this, &GText::onEntryChanged));
 }