summaryrefslogtreecommitdiffstats
path: root/src/sp-fecolormatrix.cpp
diff options
context:
space:
mode:
authorNiko Kiirala <niko@kiirala.com>2007-12-06 19:02:55 +0000
committerkiirala <kiirala@users.sourceforge.net>2007-12-06 19:02:55 +0000
commit729a0282b156b80c8cccd0a59fea480e8bbc40bb (patch)
treece0d08bec46ed2ecdde01348653c370d1e2f0ab6 /src/sp-fecolormatrix.cpp
parentRemoved conditional GTK+ < 2.6.0 code since 2.8.0 has been a requirement for ... (diff)
downloadinkscape-729a0282b156b80c8cccd0a59fea480e8bbc40bb.tar.gz
inkscape-729a0282b156b80c8cccd0a59fea480e8bbc40bb.zip
Fixed several crashes when modifying filter effect parameters with XML editor
(bzr r4185)
Diffstat (limited to 'src/sp-fecolormatrix.cpp')
-rw-r--r--src/sp-fecolormatrix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-fecolormatrix.cpp b/src/sp-fecolormatrix.cpp
index f13e12809..60d312db1 100644
--- a/src/sp-fecolormatrix.cpp
+++ b/src/sp-fecolormatrix.cpp
@@ -151,7 +151,7 @@ sp_feColorMatrix_set(SPObject *object, unsigned int key, gchar const *str)
case SP_ATTR_VALUES:
if (str){
feColorMatrix->values = helperfns_read_vector(str, 20);
- feColorMatrix->value = helperfns_read_number(str);
+ feColorMatrix->value = helperfns_read_number(str, HELPERFNS_NO_WARNING);
object->parent->requestModified(SP_OBJECT_MODIFIED_FLAG);
}
break;
@@ -190,7 +190,7 @@ sp_feColorMatrix_write(SPObject *object, Inkscape::XML::Node *repr, guint flags)
if (flags & SP_OBJECT_WRITE_EXT) {
if (repr) {
// is this sane?
- repr->mergeFrom(SP_OBJECT_REPR(object), "id");
+ //repr->mergeFrom(SP_OBJECT_REPR(object), "id");
} else {
repr = SP_OBJECT_REPR(object)->duplicate(NULL); // FIXME
}