summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-02-23 23:40:33 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-02-23 23:40:33 +0000
commit6429c462cf8ca411d8ca755fc490a99c639161b2 (patch)
treec29294d277ce06af072336a609feb993d372e84e /src/widgets/toolbox.cpp
parentAdded pathscatter effect + slight modif of simpletransform... to compute bbox... (diff)
downloadinkscape-6429c462cf8ca411d8ca755fc490a99c639161b2.tar.gz
inkscape-6429c462cf8ca411d8ca755fc490a99c639161b2.zip
Fix LP #194718
(bzr r4836)
Diffstat (limited to 'src/widgets/toolbox.cpp')
-rw-r--r--src/widgets/toolbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index fcf3e0ce6..8ea410da3 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -2512,7 +2512,7 @@ box3d_angle_value_changed(GtkAdjustment *adj, GObject *dataKludge, Proj::Axis ax
g_object_set_data(dataKludge, "freeze_angle", GINT_TO_POINTER(TRUE));
//Persp3D *persp = document->current_persp3d;
- std::set<Persp3D *> sel_persps = persp3d_currently_selected_persps (inkscape_active_event_context());
+ std::set<Persp3D *> sel_persps = persp3d_currently_selected_persps();
if (sel_persps.empty()) {
// this can happen when the document is created; we silently ignore it
return;
@@ -2551,7 +2551,7 @@ box3d_angle_z_value_changed(GtkAdjustment *adj, GObject *dataKludge)
static void box3d_vp_state_changed( GtkToggleAction *act, GtkAction *box3d_angle, Proj::Axis axis )
{
// TODO: Take all selected perspectives into account
- std::set<Persp3D *> sel_persps = persp3d_currently_selected_persps (inkscape_active_event_context());
+ std::set<Persp3D *> sel_persps = persp3d_currently_selected_persps();
if (sel_persps.empty()) {
// this can happen when the document is created; we silently ignore it
return;