On 2008-February-04 , at 08:42 , Niko Kiirala wrote:
Sun, 3 Feb 2008 21:03:03 -0800 "John Faith" <jfaith7@...400...> kirjoitti:
I found that changing the SPFilter struct's _image_name from a std::map to a pointer to a std::map and using 'filter->_image_name = new std::map<gchar *, int, ltstr>;' in sp_filter_init() solves my crashing problems; I can now startup and view the About dialog.
I'm not so much into using a pointer there, but yes, that is a good solution. 'new' will allocate the memory for the map and run the constructor in proper order.
Please attach your patch for this, so we can get this fixed in SVN.
Given the amount of carefully thought work John has been doing for a while already, I think he should get SVN access. He's well beyond the two patches "requirement". It would speed his contributions up and Inkscape will benefit much from it.
JiHO --- http://jo.irisson.free.fr/