From: buliabyak Date: Mon, 23 Oct 2006 01:45:26 +0000 (+0000) Subject: simplify by using the new API X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=edb30f75bf52a27c44d2685fd471b05ad12eab4c;p=inkscape.git simplify by using the new API --- 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