summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-04-21 15:24:09 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-04-23 21:37:56 +0000
commit6cac05b2ed5ad262328c836ee7f8daf184210eaf (patch)
tree147c39f49daca1fb2c001c535732678f6112c56e
parentFix some crashes grouping (diff)
downloadinkscape-6cac05b2ed5ad262328c836ee7f8daf184210eaf.tar.gz
inkscape-6cac05b2ed5ad262328c836ee7f8daf184210eaf.zip
Remove some documents updates
-rw-r--r--src/live_effects/effect.cpp1
-rw-r--r--src/live_effects/lpeobject-reference.cpp2
-rw-r--r--src/object/sp-ellipse.cpp3
-rw-r--r--src/object/sp-flowtext.cpp2
-rw-r--r--src/object/sp-image.cpp2
-rw-r--r--src/object/sp-item-group.cpp1
-rw-r--r--src/object/sp-path.cpp3
-rw-r--r--src/object/sp-rect.cpp2
-rw-r--r--src/object/sp-spiral.cpp3
-rw-r--r--src/object/sp-star.cpp3
-rw-r--r--src/object/sp-text.cpp2
11 files changed, 1 insertions, 23 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index de248fbd2..1e691eb4d 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -869,7 +869,6 @@ Effect::defaultParamSet()
expander->set_use_markup(true);
expander->add(*vbox_expander);
expander->set_expanded(defaultsopen);
- //expander->set_size_request(-1, 90);
expander->property_expanded().signal_changed().connect(sigc::bind<0>(sigc::mem_fun(*this, &Effect::onDefaultsExpanderChanged), expander ));
if (has_params) {
Gtk::Widget *vboxwidg = dynamic_cast<Gtk::Widget *>(expander);
diff --git a/src/live_effects/lpeobject-reference.cpp b/src/live_effects/lpeobject-reference.cpp
index b70281c10..edede5ca1 100644
--- a/src/live_effects/lpeobject-reference.cpp
+++ b/src/live_effects/lpeobject-reference.cpp
@@ -115,7 +115,7 @@ lpeobjectreference_href_changed(SPObject */*old_ref*/, SPObject */*ref*/, LPEObj
lpeobjref->start_listening(refobj);
}
- lpeobjref->owner->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
+ lpeobjref->owner->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
}
static void
diff --git a/src/object/sp-ellipse.cpp b/src/object/sp-ellipse.cpp
index e1992e4ad..da93e824f 100644
--- a/src/object/sp-ellipse.cpp
+++ b/src/object/sp-ellipse.cpp
@@ -507,7 +507,6 @@ Geom::Affine SPGenericEllipse::set_transform(Geom::Affine const &xform)
// if path has this LPE applied, don't write the transform to the pathdata, but write it 'unoptimized'
// also if the effect is type BEND PATH to fix bug #179842
this->adjust_livepatheffect(xform);
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
return xform;
}
/* Calculate ellipse start in parent coords. */
@@ -562,8 +561,6 @@ Geom::Affine SPGenericEllipse::set_transform(Geom::Affine const &xform)
// Adjust livepatheffect
this->adjust_livepatheffect(xform);
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
-
return ret;
}
diff --git a/src/object/sp-flowtext.cpp b/src/object/sp-flowtext.cpp
index 5cab62c83..28b6b9575 100644
--- a/src/object/sp-flowtext.cpp
+++ b/src/object/sp-flowtext.cpp
@@ -732,8 +732,6 @@ Geom::Affine SPFlowtext::set_transform (Geom::Affine const &xform)
// Adjust gradient fill
this->adjust_gradient(xform * ret.inverse());
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_TEXT_LAYOUT_MODIFIED_FLAG);
-
return Geom::Affine();
}
diff --git a/src/object/sp-image.cpp b/src/object/sp-image.cpp
index 6736efdec..8d3a15f0b 100644
--- a/src/object/sp-image.cpp
+++ b/src/object/sp-image.cpp
@@ -690,8 +690,6 @@ Geom::Affine SPImage::set_transform(Geom::Affine const &xform) {
this->x = pos[Geom::X];
this->y = pos[Geom::Y];
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
-
return ret;
}
diff --git a/src/object/sp-item-group.cpp b/src/object/sp-item-group.cpp
index ac467f627..3d89a524d 100644
--- a/src/object/sp-item-group.cpp
+++ b/src/object/sp-item-group.cpp
@@ -925,7 +925,6 @@ void SPGroup::update_patheffect(bool write) {
}
}
}
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
}
static void
diff --git a/src/object/sp-path.cpp b/src/object/sp-path.cpp
index b47f63c9e..49a0a6e46 100644
--- a/src/object/sp-path.cpp
+++ b/src/object/sp-path.cpp
@@ -330,7 +330,6 @@ Geom::Affine SPPath::set_transform(Geom::Affine const &transform) {
// if path has this LPE applied, don't write the transform to the pathdata, but write it 'unoptimized'
// also if the effect is type BEND PATH to fix bug #179842
this->adjust_livepatheffect(transform);
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
return transform;
} else {
_curve_before_lpe->transform(transform);
@@ -351,8 +350,6 @@ Geom::Affine SPPath::set_transform(Geom::Affine const &transform) {
// Adjust LPE
this->adjust_livepatheffect(transform);
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
-
// nothing remains - we've written all of the transform, so return identity
return Geom::identity();
}
diff --git a/src/object/sp-rect.cpp b/src/object/sp-rect.cpp
index 9e20c6f6a..08c3df4fd 100644
--- a/src/object/sp-rect.cpp
+++ b/src/object/sp-rect.cpp
@@ -358,8 +358,6 @@ Geom::Affine SPRect::set_transform(Geom::Affine const& xform) {
// Adjust gradient fill
this->adjust_gradient(xform * ret.inverse());
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
-
return ret;
}
diff --git a/src/object/sp-spiral.cpp b/src/object/sp-spiral.cpp
index 21ffbcc1e..ce5bda9a9 100644
--- a/src/object/sp-spiral.cpp
+++ b/src/object/sp-spiral.cpp
@@ -410,7 +410,6 @@ Geom::Affine SPSpiral::set_transform(Geom::Affine const &xform)
// Adjust livepatheffect
if (hasPathEffect() && pathEffectsEnabled()) {
this->adjust_livepatheffect(xform);
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
}
return xform;
}
@@ -455,8 +454,6 @@ Geom::Affine SPSpiral::set_transform(Geom::Affine const &xform)
// Adjust livepatheffect
this->adjust_livepatheffect(xform);
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
-
return ret;
}
diff --git a/src/object/sp-star.cpp b/src/object/sp-star.cpp
index b0e31e9da..a25a724ea 100644
--- a/src/object/sp-star.cpp
+++ b/src/object/sp-star.cpp
@@ -494,7 +494,6 @@ Geom::Affine SPStar::set_transform(Geom::Affine const &xform)
// Adjust livepatheffect
if (hasPathEffect() && pathEffectsEnabled()) {
this->adjust_livepatheffect(xform);
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
}
return xform;
}
@@ -539,8 +538,6 @@ Geom::Affine SPStar::set_transform(Geom::Affine const &xform)
// Adjust livepatheffect
this->adjust_livepatheffect(xform);
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
-
return ret;
}
diff --git a/src/object/sp-text.cpp b/src/object/sp-text.cpp
index b18242dff..93694e844 100644
--- a/src/object/sp-text.cpp
+++ b/src/object/sp-text.cpp
@@ -412,8 +412,6 @@ Geom::Affine SPText::set_transform(Geom::Affine const &xform) {
// Adjust gradient fill
this->adjust_gradient(xform * ret.inverse());
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_TEXT_LAYOUT_MODIFIED_FLAG);
-
return ret;
}