Re: Chaining of dispose and finalize
- From: Tristan Van Berkom <vantr touchtunes com>
- To: Russell Shaw <rjshaw netspace net au>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Chaining of dispose and finalize
- Date: Fri, 03 Sep 2004 10:15:49 -0400
Russell Shaw wrote:
[...]
But how do i do that when g_object_real_dispose() and g_object_finalize()
are both declared static in gobject.c ?
the gobject code always keeps a version of the class intact
(for quick reference at instantiation and for chaining):
parent_class =
GTKTT_ANIM_CLASS (g_type_class_peek_parent
(musical_class));
Usualy people keep a global like this assigned at class_init time
in order to avoid multiple calls.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]