The current behavior is to use Inkscape::DocumentUndo like this:
DocumentUndo::done(doc, SP_VERB_CONTEXT_FOO, _("some-event"));
The suggested behavior would be this:
doc->commit(SP_VERB_CONTEXT_FOO, _("some-event"));
The current behavior is to use Inkscape: :DocumentUndo like this:
DocumentUndo: :done(doc, SP_VERB_ CONTEXT_ FOO, _("some-event"));
The suggested behavior would be this:
doc->commit( SP_VERB_ CONTEXT_ FOO, _("some-event"));