diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fluxbox.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 1339197..6acfb23 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -202,7 +202,7 @@ typedef FbTk::SimpleCommand<Fluxbox> FluxboxCmd; | |||
202 | }; | 202 | }; |
203 | 203 | ||
204 | Bar bar; | 204 | Bar bar; |
205 | bind2nd(mem_fun(&F::foo), bar); | 205 | bind(mem_fn(&F::foo), _1, bar); |
206 | 206 | ||
207 | it complaints about not beeing able to store a reference to | 207 | it complaints about not beeing able to store a reference to |
208 | a reference (Bar&&). | 208 | a reference (Bar&&). |
@@ -514,7 +514,7 @@ void Fluxbox::initScreen(BScreen *screen) { | |||
514 | // initiate atomhandler for screen specific stuff | 514 | // initiate atomhandler for screen specific stuff |
515 | STLUtil::forAll(m_atomhandler, | 515 | STLUtil::forAll(m_atomhandler, |
516 | CallMemFunWithRefArg<AtomHandler, BScreen&, void>(&AtomHandler::initForScreen, *screen)); | 516 | CallMemFunWithRefArg<AtomHandler, BScreen&, void>(&AtomHandler::initForScreen, *screen)); |
517 | //STLUtil::forAll(m_atomhandler, bind2nd(mem_fn(&AtomHandler::initForScreen), *screen)); | 517 | //STLUtil::forAll(m_atomhandler, bind(mem_fn(&AtomHandler::initForScreen), _1, *screen)); |
518 | 518 | ||
519 | FocusControl::revertFocus(*screen); // make sure focus style is correct | 519 | FocusControl::revertFocus(*screen); // make sure focus style is correct |
520 | 520 | ||