Code

add comment (copied from sp-gradient) explaining why this must set a flag, to be...
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 14 Sep 2009 00:58:45 +0000 (00:58 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 14 Sep 2009 00:58:45 +0000 (00:58 +0000)
src/sp-pattern.cpp

index 90af65b97cb8f3c072509d3268c272497a71d72d..ec0d0d576c8b78cffd56631fc5850179eecfab86 100644 (file)
@@ -432,6 +432,7 @@ pattern_ref_modified (SPObject */*ref*/, guint /*flags*/, SPPattern *pattern)
 {
        if (SP_IS_OBJECT (pattern))
                SP_OBJECT (pattern)->requestModified(SP_OBJECT_MODIFIED_FLAG);
+        /* Conditional to avoid causing infinite loop if there's a cycle in the href chain. */
 }
 
 guint