diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2009-08-06 14:17:17 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2009-08-06 14:17:17 +0000 |
| commit | 51c2905fd3e99955db2d823b79abb763d8097028 (patch) | |
| tree | 90128509479f5498e1125d1e4eb9cdc05bf6b6e6 /src/desktop.cpp | |
| parent | Adding one more control to Smart Jelly (diff) | |
| download | inkscape-51c2905fd3e99955db2d823b79abb763d8097028.tar.gz inkscape-51c2905fd3e99955db2d823b79abb763d8097028.zip | |
Revert recent refactoring changes by johnce because they break the build, which cannot be fixed easily.
(bzr r8422)
Diffstat (limited to 'src/desktop.cpp')
| -rw-r--r-- | src/desktop.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp index 4f832682d..6b7c20094 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -178,7 +178,7 @@ SPDesktop::init (SPNamedView *nv, SPCanvas *aCanvas) namedview = nv; canvas = aCanvas; - Document *document = SP_OBJECT_DOCUMENT (namedview); + SPDocument *document = SP_OBJECT_DOCUMENT (namedview); /* Kill flicker */ sp_document_ensure_up_to_date (document); @@ -577,7 +577,7 @@ SPDesktop::activate_guides(bool activate) * Make desktop switch documents. */ void -SPDesktop::change_document (Document *theDocument) +SPDesktop::change_document (SPDocument *theDocument) { g_return_if_fail (theDocument != NULL); @@ -1492,7 +1492,7 @@ SPDesktop::updateCanvasNow() * Associate document with desktop. */ void -SPDesktop::setDocument (Document *doc) +SPDesktop::setDocument (SPDocument *doc) { if (this->doc() && doc) { namedview->hide(this); |
