diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-10-23 01:45:26 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-10-23 01:45:26 +0000 |
| commit | 145c43010f4455cc086ad29a5640369db18ba0f4 (patch) | |
| tree | 241926e71c9f315ebddcefa6586808d3064888b9 /src/dialogs/object-properties.cpp | |
| parent | change API: separate functions creating a blur filter, one for a given item, ... (diff) | |
| download | inkscape-145c43010f4455cc086ad29a5640369db18ba0f4.tar.gz inkscape-145c43010f4455cc086ad29a5640369db18ba0f4.zip | |
simplify by using the new API
(bzr r1840)
Diffstat (limited to 'src/dialogs/object-properties.cpp')
| -rw-r--r-- | src/dialogs/object-properties.cpp | 5 |
1 files changed, 1 insertions, 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 |
