]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/io_callback.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / io_callback.C
index d5b507c9ac6d52933ed7488f323d3c4a994f6e53..3962af05725e44e8d72ff32f77edb5c58c9905a2 100644 (file)
 
 #include <config.h>
 
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
+
 #include "io_callback.h"
 
 
 io_callback::io_callback(int fd, boost::function<void()> func)
        : func_(func)
 {
-       conn_ = Glib::signal_io().connect(SigC::slot(*this, &io_callback::data_received), fd, Glib::IO_IN);
+       conn_ = Glib::signal_io().connect(
+               sigc::mem_fun(*this, &io_callback::data_received),
+               fd, Glib::IO_IN);
 }