summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/gdkpixbuf-input.cpp
diff options
context:
space:
mode:
authorAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-01 10:06:56 +0000
committerAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-01 10:06:56 +0000
commit121815791be2d24cb745663520b111ee914fbc09 (patch)
tree487c6c27a31e9adbd81ad42f5a8eafef31547426 /src/extension/internal/gdkpixbuf-input.cpp
parentThis is the first c++ification commit from me. It handles sp-line, sp-polylin... (diff)
downloadinkscape-121815791be2d24cb745663520b111ee914fbc09.tar.gz
inkscape-121815791be2d24cb745663520b111ee914fbc09.zip
C++fied SPDocument added
(bzr r9546.1.2)
Diffstat (limited to 'src/extension/internal/gdkpixbuf-input.cpp')
-rw-r--r--src/extension/internal/gdkpixbuf-input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/internal/gdkpixbuf-input.cpp b/src/extension/internal/gdkpixbuf-input.cpp
index 2e10dae58..4983d7eff 100644
--- a/src/extension/internal/gdkpixbuf-input.cpp
+++ b/src/extension/internal/gdkpixbuf-input.cpp
@@ -54,7 +54,7 @@ GdkpixbufInput::open(Inkscape::Extension::Input *mod, char const *uri)
mime_type = "image/png";
}
- doc = SPDocument::createDoc(NULL, TRUE, TRUE);
+ doc = SPDocument::createNewDoc(NULL, TRUE, TRUE);
bool saved = sp_document_get_undo_sensitive(doc);
sp_document_set_undo_sensitive(doc, false); // no need to undo in this temporary document