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.
This commit is contained in:
parent
3eb8597bd7
commit
95c98eb8c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107251
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= inkscape
|
||||
PORTVERSION= 0.38.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics gnome
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
11
graphics/inkscape/files/patch-src::knotholder.cpp
Normal file
11
graphics/inkscape/files/patch-src::knotholder.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user