freebsd-ports/graphics/inkscape/files/patch-src::knotholder.cpp
Alexander Nedotsukov 95c98eb8c1 Fix crasher bug. There is a problem in inkscape provoked by
sp_object_invoke_write() call wich result in bunch on gtk signals
emission wich in turn may release parent knot holder object beeng
modified. Current fix is not correct way to resolve the situation but
it let us safely go.
2004-04-16 17:06:21 +00:00

11 lines
361 B
C++

--- src/knotholder.cpp.orig Fri Apr 16 23:02:03 2004
+++ src/knotholder.cpp Sat Apr 17 01:22:19 2004
@@ -164,7 +164,7 @@
} else {
SPObject *object = (SPObject *) kh->item;
sp_object_invoke_write (object, object->repr, SP_OBJECT_WRITE_EXT);
- sp_document_done (SP_OBJECT_DOCUMENT (kh->item));
+ sp_document_done (SP_OBJECT_DOCUMENT (object));
}
}