summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-10-25 02:48:06 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-10-25 02:48:06 +0000
commit41bb684f180db264ed37af7d58ef12079a582250 (patch)
treeb72086c73dd3d8d56b9e3bcd0efea74d1cf9529e /src/desktop.cpp
parentArabic translation update by SAGERAHMED. (diff)
downloadinkscape-41bb684f180db264ed37af7d58ef12079a582250.tar.gz
inkscape-41bb684f180db264ed37af7d58ef12079a582250.zip
remove registerEditWidget, move this to SPDesktop::init instead; a noop change but fixes a weird crash on Windows
(bzr r8805)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index f7ef1a8cd..319a0d407 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -164,8 +164,10 @@ SPDesktop::SPDesktop() :
}
void
-SPDesktop::init (SPNamedView *nv, SPCanvas *aCanvas)
+SPDesktop::init (SPNamedView *nv, SPCanvas *aCanvas, Inkscape::UI::View::EditWidgetInterface *widget)
{
+ _widget = widget;
+
// Temporary workaround for link order issues:
Inkscape::DeviceManager::getManager().getDevices();
Inkscape::Preferences *prefs = Inkscape::Preferences::get();