X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fui%2Fdialog%2Fundo-history.cpp;h=17d0327581634fe5791dac201d220c6006922d4c;hb=9dc68827cbd515262ecb8d5ae8547d9e82c72e00;hp=9e092207211579e2a8fc694d24208046f71eaab9;hpb=072de79e6270f4137fa48a8a73491e8a0904d8f8;p=inkscape.git diff --git a/src/ui/dialog/undo-history.cpp b/src/ui/dialog/undo-history.cpp index 9e0922072..17d032758 100644 --- a/src/ui/dialog/undo-history.cpp +++ b/src/ui/dialog/undo-history.cpp @@ -3,6 +3,7 @@ */ /* Author: * Gustav Broberg + * Abhishek Sharma * * Copyright (C) 2006 Authors * Released under GNU GPL. Read the file 'COPYING' for more information. @@ -214,7 +215,7 @@ UndoHistory::_onListSelectionChange() _event_log->blockNotifications(); for ( --last ; curr_event != last ; ++curr_event ) { - SPDocumentUndo::redo(_document); + DocumentUndo::redo(_document); } _event_log->blockNotifications(false); @@ -248,7 +249,7 @@ UndoHistory::_onListSelectionChange() while ( selected != last_selected ) { - SPDocumentUndo::undo(_document); + DocumentUndo::undo(_document); if ( last_selected->parent() && last_selected == last_selected->parent()->children().begin() ) @@ -273,7 +274,7 @@ UndoHistory::_onListSelectionChange() while ( selected != last_selected ) { - SPDocumentUndo::redo(_document); + DocumentUndo::redo(_document); if ( !last_selected->children().empty() ) { _event_log->setCurrEventParent(last_selected); @@ -317,10 +318,10 @@ UndoHistory::_onCollapseEvent(const Gtk::TreeModel::iterator &iter, const Gtk::T EventLog::const_iterator last = curr_event_parent->children().end(); _event_log->blockNotifications(); - SPDocumentUndo::redo(_document); + DocumentUndo::redo(_document); for ( --last ; curr_event != last ; ++curr_event ) { - SPDocumentUndo::redo(_document); + DocumentUndo::redo(_document); } _event_log->blockNotifications(false); @@ -345,4 +346,4 @@ const CellRendererInt::Filter& UndoHistory::greater_than_1 = UndoHistory::Greate fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :