summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2015-04-26 09:44:42 +0000
committerMarc Jeanmougin <mc@M0nst3r.bouyguesbox.fr>2015-04-26 09:44:42 +0000
commit1c6d7546699e45643c2ab8e1d41d7b6f4fc52365 (patch)
treea56b6da9bb0f660d5986919ac8d75dc04113cd69 /src/desktop.cpp
parentmore cast cleanup (diff)
parentRename libgc/ => inkgc/ to reflect difference from Boehm GC (diff)
downloadinkscape-1c6d7546699e45643c2ab8e1d41d7b6f4fc52365.tar.gz
inkscape-1c6d7546699e45643c2ab8e1d41d7b6f4fc52365.zip
merge
(bzr r13922.1.12)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 0cf0a3872..5a1558b0f 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -687,7 +687,7 @@ void SPDesktop::set_event_context2(const std::string& toolName)
}
}
- Inkscape::UI::Tools::ToolBase* new_tool = ToolFactory::instance().createObject(toolName);
+ Inkscape::UI::Tools::ToolBase* new_tool = ToolFactory::createObject(toolName);
new_tool->desktop = this;
new_tool->message_context = new Inkscape::MessageContext(this->messageStack());
event_context = new_tool;