From 9acea06b41c7a081a9f059331a01d26a5be9a563 Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Tue, 1 Nov 2011 09:41:37 +0100 Subject: Filters. Removing deprecated workaround in drop shadow (see Bug #808013 ). (bzr r10709) --- src/extension/internal/filter/shadows.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/extension/internal/filter/shadows.h b/src/extension/internal/filter/shadows.h index 6a7cf38f2..d76358a96 100644 --- a/src/extension/internal/filter/shadows.h +++ b/src/extension/internal/filter/shadows.h @@ -108,12 +108,7 @@ ColorizableDropShadow::get_filter_text (Inkscape::Extension::Extension * ext) const gchar *type = ext->get_param_enum("type"); guint32 color = ext->get_param_color("color"); - if (ext->get_param_float("blur") > 0) { - blur << "get_param_float("blur") << "\" result=\"blur\" />\n"; - } else { - blur << ""; - } - + blur << ext->get_param_float("blur"); x << ext->get_param_float("xoffset"); y << ext->get_param_float("yoffset"); a << (color & 0xff) / 255.0F; @@ -167,7 +162,7 @@ ColorizableDropShadow::get_filter_text (Inkscape::Extension::Extension * ext) "\n" "\n" "\n" - "%s" + "\n" "\n" "\n" "\n", a.str().c_str(), r.str().c_str(), g.str().c_str(), b.str().c_str(), -- cgit v1.2.3