diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2014-10-24 02:33:47 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2014-10-24 02:33:47 +0000 |
| commit | e2ae473da92a1f96e307e3f1f3e206cad7bd1c38 (patch) | |
| tree | c0611f76bf1e080e34cecdb8fd89b6a07289c68a /src/widgets/box3d-toolbar.cpp | |
| parent | Translations. Brazilian Portuguese translation update by Victor Westmann. (diff) | |
| download | inkscape-e2ae473da92a1f96e307e3f1f3e206cad7bd1c38.tar.gz inkscape-e2ae473da92a1f96e307e3f1f3e206cad7bd1c38.zip | |
Initial removal of box3d outdated GTKish macros.
(bzr r13634)
Diffstat (limited to 'src/widgets/box3d-toolbar.cpp')
| -rw-r--r-- | src/widgets/box3d-toolbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/box3d-toolbar.cpp b/src/widgets/box3d-toolbar.cpp index 6d6b86c4d..3b13cd2cf 100644 --- a/src/widgets/box3d-toolbar.cpp +++ b/src/widgets/box3d-toolbar.cpp @@ -182,9 +182,9 @@ static void box3d_toolbox_selection_changed(Inkscape::Selection *selection, GObj purge_repr_listener(tbl, tbl); SPItem *item = selection->singleItem(); - if (item && SP_IS_BOX3D(item)) { + SPBox3D *box = dynamic_cast<SPBox3D *>(item); + if (box) { // FIXME: Also deal with multiple selected boxes - SPBox3D *box = SP_BOX3D(item); Persp3D *persp = box3d_get_perspective(box); persp_repr = persp->getRepr(); if (persp_repr) { |
