diff --git a/src/document-undo.cpp b/src/document-undo.cpp
index ce5564ffbcd7b741ca9cc1a92b8d004079104961..81125833110313c50b78793bbadecf8b6ee35dde 100644 (file)
--- a/src/document-undo.cpp
+++ b/src/document-undo.cpp
sp_repr_begin_transaction (doc->rdoc);
}
-namespace {
-
-void finish_incomplete_transaction(SPDocument &doc) {
+static void finish_incomplete_transaction(SPDocument &doc) {
SPDocumentPrivate &priv=*doc.priv;
Inkscape::XML::Event *log=sp_repr_commit_undoable(doc.rdoc);
if (log || priv.partial) {
}
}
-}
-
gboolean
sp_document_undo (SPDocument *doc)
{