On Wed, May 13, 2009 at 12:46 PM, Vincent Torri <vto...@univ-evry.fr> wrote: > > Hey, > >> A couple of weeks ago I had added a ticket to the tracker of enlightenment. >> (http://trac.enlightenment.org/e/ticket/307) >> Could you have a look at it, as it solved the segmentation faults that I was >> having with test_ewl_pdf and test_esmart_pdf. >> It also solves the segmentation fault of eyesight when it load a pdf file. >> This is mainly because eyesight uses the >> esmart functionality in its plug-in. The segmentation fault is because "new >> GlobalParams()" moved to epdf_init, which is not >> called from any function within esmart_pdf, ewl_pdf. > > The problem is that i don't know the best way to do that. Calling > epdf_init() in the init of the object (ewl or esmart) is maybe not the > best way. > > I asked a ewl maintainer and does not really know. I have asked raster for > the smart object and i am waiting for his answer > > regards > > Vincent
Doing this inside the object init call seems reasonable to me. You don't really have any other guaranteed hook points in an external widget class. Nathan ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel