summaryrefslogtreecommitdiffstats
path: root/src/widgets/box3d-toolbar.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-06-25 15:32:51 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-06-25 15:32:51 +0000
commit69ae98cb453849c6d32a1c7ea8bc057fb13deea3 (patch)
tree6defcecd267d9757d9667367541d00d07c2a5e40 /src/widgets/box3d-toolbar.cpp
parentfix bug introduced in rev. 13403 (merge with trunk) (diff)
downloadinkscape-69ae98cb453849c6d32a1c7ea8bc057fb13deea3.tar.gz
inkscape-69ae98cb453849c6d32a1c7ea8bc057fb13deea3.zip
1. make it compile
(bzr r13341.5.1)
Diffstat (limited to 'src/widgets/box3d-toolbar.cpp')
-rw-r--r--src/widgets/box3d-toolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/box3d-toolbar.cpp b/src/widgets/box3d-toolbar.cpp
index 6d6b86c4d..ecc7890b9 100644
--- a/src/widgets/box3d-toolbar.cpp
+++ b/src/widgets/box3d-toolbar.cpp
@@ -194,7 +194,7 @@ static void box3d_toolbox_selection_changed(Inkscape::Selection *selection, GObj
sp_repr_synthesize_events(persp_repr, &box3d_persp_tb_repr_events, tbl);
}
- inkscape_active_document()->setCurrentPersp3D(persp3d_get_from_repr(persp_repr));
+ SP_ACTIVE_DOCUMENT->setCurrentPersp3D(persp3d_get_from_repr(persp_repr));
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
prefs->setString("/tools/shapes/3dbox/persp", persp_repr->attribute("id"));