X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fdocument-private.h;h=fa4754248f082b84ff2eea883dd0bec593da7977;hb=cc149fbbfc6340eac5a43b04d30212732b3966f2;hp=cb83c9376eb268feca56338333a7be8e9076c489;hpb=f60fc9ef5d612f8225bc9e425916c3568afe4f49;p=inkscape.git diff --git a/src/document-private.h b/src/document-private.h index cb83c9376..fa4754248 100644 --- a/src/document-private.h +++ b/src/document-private.h @@ -43,6 +43,8 @@ struct SPDocumentPrivate { GHashTable *iddef; /**< Dictionary of id -> SPObject mappings */ GHashTable *reprdef; /**< Dictionary of Inkscape::XML::Node -> SPObject mappings */ + unsigned long serial; + /** Dictionary of signals for id changes */ IDChangedSignalMap id_changed_signals; @@ -59,7 +61,7 @@ struct SPDocumentPrivate { SPDocument::CommitSignal commit_signal; /* Undo/Redo state */ - guint sensitive: 1; /* If we save actions to undo stack */ + bool sensitive: true; /* If we save actions to undo stack */ Inkscape::XML::Event * partial; /* partial undo log when interrupted */ int history_size; GSList * undo; /* Undo stack of reprs */ @@ -68,11 +70,10 @@ struct SPDocumentPrivate { /* Undo listener */ Inkscape::CompositeUndoStackObserver undoStackObservers; - /* Event log */ - Inkscape::EventLog event_log; - // XXX only for testing! Inkscape::ConsoleOutputUndoObserver console_output_undo_observer; + + bool seeking; }; #endif