Re: do I need to disconnect handlers connect to own signal on dispose
- From: Federico Mena Quintero <federico ximian com>
- To: Stefan Kost <kost imn htwk-leipzig de>
- Cc: gtk-devel-list gnome org
- Subject: Re: do I need to disconnect handlers connect to own signal on dispose
- Date: Mon, 31 Jan 2005 11:58:22 -0600
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]