From e65551ff4a5356b86a973bcbe4ef973bdf09525c Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Mon, 23 Apr 2018 00:09:01 +0200 Subject: Fix warings on updates --- src/object/sp-path.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/object/sp-path.cpp') diff --git a/src/object/sp-path.cpp b/src/object/sp-path.cpp index 49a0a6e46..4d1f1311f 100644 --- a/src/object/sp-path.cpp +++ b/src/object/sp-path.cpp @@ -246,8 +246,6 @@ void SPPath::set(unsigned int key, const gchar* value) { } else { this->setCurve(NULL); } - - this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG); break; case SP_PROP_MARKER: @@ -307,6 +305,10 @@ g_message("sp_path_write writes 'd' attribute"); return repr; } +void SPPath::update_patheffect(bool write) { + SPShape::update_patheffect(write); +} + void SPPath::update(SPCtx *ctx, guint flags) { if (flags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG | SP_OBJECT_VIEWPORT_MODIFIED_FLAG)) { flags &= ~SP_OBJECT_USER_MODIFIED_FLAG_B; // since we change the description, it's not a "just translation" anymore -- cgit v1.2.3