summaryrefslogtreecommitdiffstats
path: root/src/style.h
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-02-06 01:56:17 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-02-06 01:56:17 +0000
commite6578ce0f6538fa3d0dcb67a0e18a82c9029d7e6 (patch)
treec65ddda33627706e5c4c993556d508a501b799c5 /src/style.h
parentStupid bug in generate-constraints events comparison test fixed (diff)
downloadinkscape-e6578ce0f6538fa3d0dcb67a0e18a82c9029d7e6.tar.gz
inkscape-e6578ce0f6538fa3d0dcb67a0e18a82c9029d7e6.zip
yet another fix along the same lines: disconnect listeners if they have been connected, checking a flag instead of relying on style->object
(bzr r85)
Diffstat (limited to 'src/style.h')
-rw-r--r--src/style.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/style.h b/src/style.h
index ba1900bde..333344ad9 100644
--- a/src/style.h
+++ b/src/style.h
@@ -323,6 +323,8 @@ struct SPStyle {
bool cloned;
/// style has hreffed its paintservers, needs to release
bool hreffed;
+ /// style is listening to changes in paintservers, need to disconnect
+ bool listening;
};
SPStyle *sp_style_new();