Re: BonoboControl unref

Gustavo J A M Carneiro <[email protected]> Mon, 25 Aug 2003 00:00:50 +0100
Newsgroups gmane.comp.gnome.components
Organization INESC
Message-ID <[email protected]>
A Dom, 2003-08-24 às 22:52, Archit Baweja escreveu:
> Hi
> 
> Say I have a BonoboWindow with a BonoboControl embedded in it. When I close the
> window, I call bonobo_main_quit (). At this point is there a way for my 
> BonoboControl to know that we're quitin, so it can cleanup or do other stuff
> like save session etc.?

  When you close the window, normally the reference count on the control
drops to zero.  At this point, the control is destroyed, and it emits  a
"destroy" signal in the process. 

-- 
Gustavo J. A. M. Carneiro
<[email protected]> <[email protected]>