Commit a4757740 authored by Daniel Elstner's avatar Daniel Elstner
Browse files

:do_undo): Don't create a temporary copy of the pulse slot since

* src/undostack.cc (UndoStack::do_undo): Don't create a temporary
copy of the pulse slot since libsigc++2 allows calling const slots.
parent f16081e8
2004-05-21 Daniel Elstner <daniel.elstner@gmx.net>
* src/undostack.cc (UndoStack::do_undo): Don't create a temporary
copy of the pulse slot since libsigc++2 allows calling const slots.
2004-05-21 Daniel Elstner <daniel.elstner@gmx.net>
* src/filetree.cc (FileTree::replace_all_matches): Make sure
......
......@@ -101,7 +101,7 @@ bool UndoStack::do_undo(const sigc::slot<bool>& pulse)
{
skip = false;
if ((++iteration % PULSE_INTERVAL) == 0 && sigc::slot<bool>(pulse)())
if ((++iteration % PULSE_INTERVAL) == 0 && pulse())
throw StopUndo();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment