summaryrefslogtreecommitdiffstats
path: root/src/layer-fns.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2009-08-06 14:17:17 +0000
committercilix42 <cilix42@users.sourceforge.net>2009-08-06 14:17:17 +0000
commit51c2905fd3e99955db2d823b79abb763d8097028 (patch)
tree90128509479f5498e1125d1e4eb9cdc05bf6b6e6 /src/layer-fns.cpp
parentAdding one more control to Smart Jelly (diff)
downloadinkscape-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/layer-fns.cpp')
-rw-r--r--src/layer-fns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layer-fns.cpp b/src/layer-fns.cpp
index 2431b0758..75bb89bcf 100644
--- a/src/layer-fns.cpp
+++ b/src/layer-fns.cpp
@@ -165,7 +165,7 @@ SPObject *previous_layer(SPObject *root, SPObject *layer) {
* \pre \a root should be either \a layer or an ancestor of it
*/
SPObject *create_layer(SPObject *root, SPObject *layer, LayerRelativePosition position) {
- Document *document=SP_OBJECT_DOCUMENT(root);
+ SPDocument *document=SP_OBJECT_DOCUMENT(root);
static int layer_suffix=1;
gchar *id=NULL;