Re: do I need to disconnect handlers connect to own signal on dispose



On Fri, 2005-01-28 at 18:05 +0100, Stefan Kost wrote:

> I e.g. subclass GtkWindow. In my class I connect to e.g. delete-event.
> When I dispose my instance, should I disconnect the handler or does some code
> that is invoked when I chain up to parent->dispose handle it?

The connections will go away when the object is disposed (see
g_object_real_dispose()).

  Federico




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