summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-06-27 06:34:35 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-06-27 06:34:35 +0000
commitf5315c60ff13f0ef337243245ce35f712b665adb (patch)
tree17d39880fe07a58b3b7013fcea2f6356851734d1 /src/style.cpp
parent(bzr r3144) (diff)
downloadinkscape-f5315c60ff13f0ef337243245ce35f712b665adb.tar.gz
inkscape-f5315c60ff13f0ef337243245ce35f712b665adb.zip
use an accessor method to get filter from style
(bzr r3145)
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.cpp b/src/style.cpp
index 46b544382..699d95054 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -397,7 +397,7 @@ static void
sp_style_filter_ref_modified(SPObject *obj, guint flags, SPStyle *style)
{
SPFilter *filter=static_cast<SPFilter *>(obj);
- if (style->filter.href->getObject() == filter)
+ if (style->getFilter() == filter)
{
if (style->object) {
style->object->requestModified(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);