]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GUrl.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GUrl.C
index f25ca575db81de291e2d9bf846e800bb1e9e26a5..dc0587d5546a36728a37a1f1cdcada4eea49ffe3 100644 (file)
@@ -9,20 +9,27 @@
  */
 
 #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 "ControlCommand.h"
 #include "GUrl.h"
 #include "ghelpers.h"
+
 #include "support/lstrings.h"
 
+#include <gtkmm.h>
+#include <libglademm.h>
+
 using std::string;
 
 namespace lyx {
 namespace frontend {
 
+
 GUrl::GUrl(Dialog & parent)
        : GViewCB<ControlCommand, GViewGladeB>(parent, _("URL"))
 {
@@ -53,9 +60,9 @@ void GUrl::doBuild()
        bcview().addReadOnly(htmlType_);
 
        url_->signal_changed().connect(
-               SigC::slot(*this, &GUrl::onEntryChanged));
+               sigc::mem_fun(*this, &GUrl::onEntryChanged));
        name_->signal_changed().connect(
-               SigC::slot(*this, &GUrl::onEntryChanged));
+               sigc::mem_fun(*this, &GUrl::onEntryChanged));
 }