Re: commit: AbiWord is now a Nautilus View.



On Sun, 30 Mar 2003, Jens Finke wrote:

> Hi,
> 
> On Sun, 30 Mar 2003, Martin Sevior wrote:
> > I've tried overriding destroy functions in the abiwidget control and 
> > connecting to the "destroy" and "delete_event" events. Nothing ever seems 
> > to get called. Reading through the EOG code implies that merely overiding 
> > the destroy functions should work. But it didn't for me.
> > 
<snip>

> 
> my experience is, that in most cases you have some hanging remote
> BonoboObject references in your control. We had this problem in the eog
> lifecycle too, and fixed this by looking through the code carefully and
> make sure everything is unref'ed/free'ed correctly. Nautilus will unref
> the component when it's no longer used. But if the component has some
> references to remote BonoboObjects yet the whole component won't be shut
> down by the bonobo framework.
> 

This sounds like a good hint. I'll look through the abi code
 and put in some debug prints to count references.

Thanks

Martin





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]