]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlInset.tmpl
Compaq cxx 6.5 will now compile lyx.
[lyx.git] / src / frontends / controllers / ControlInset.tmpl
index 7b49633b0a90e4db9af2992f32adf774a91284f5..7b89da6ce14063fe24b715fbf07cbd89854ed061 100644 (file)
  */
 
 #include "ControlInset.h"
+#include "ViewBase.h"
+#include "buffer.h"
+#include "debug.h"
+#include "frontends/LyXView.h"
 #include "support/LAssert.h"
-#include "debug.h" 
-
+#include <boost/bind.hpp>
 
 template <class Inset, class Params>
 ControlInset<Inset, Params>::ControlInset(LyXView & lv, Dialogs & d)
        : ControlConnectBD(lv, d),
-         inset_(0), ih_(0), params_(0), dialog_built_(false)
+         inset_(0), params_(0), dialog_built_(false)
 {}
 
 
@@ -179,7 +182,7 @@ void ControlInset<Inset, Params>::connectInset(Inset * inset)
        if (inset) {
                inset_ = inset;
                ih_ = inset->hideDialog.connect(
-                       SigC::slot(this, &ControlInset::hide));
+                       boost::bind(&ControlInset::hide, this));
        }
        connect();
 }