From edb30f75bf52a27c44d2685fd471b05ad12eab4c Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 23 Oct 2006 01:45:26 +0000 Subject: [PATCH] simplify by using the new API --- src/dialogs/object-properties.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/dialogs/object-properties.cpp b/src/dialogs/object-properties.cpp index 07b329fb2..617e8a0d1 100644 --- a/src/dialogs/object-properties.cpp +++ b/src/dialogs/object-properties.cpp @@ -414,10 +414,7 @@ sp_fillstroke_blur_changed (GtkAdjustment *a, SPWidget *base) if (radius == 0.0) { remove_filter (item, true); } else { - NR::Rect const r = sp_item_bbox_desktop(item); - double width = r.extent(NR::X); - double height = r.extent(NR::Y); - SPFilter *constructed = new_filter_gaussian_blur(document, radius, width, height); + SPFilter *constructed = new_filter_gaussian_blur_from_item(document, item, radius); sp_style_set_property_url (SP_OBJECT(item), "filter", SP_OBJECT(constructed), false); } //request update -- 2.30.2