Re: [gtk-list] Re: Destroying windows & widgets -- anybody?
- From: Robert Knop <rknop panisse lbl gov>
- To: Havoc Pennington <rhpennin midway uchicago edu>
- cc: gtk-list redhat com, rknop mh1 lbl gov
- Subject: Re: [gtk-list] Re: Destroying windows & widgets -- anybody?
- Date: Wed, 26 Aug 1998 17:16:09 -0700 (PDT)
Scratch that... found my error, I was calling a method of a null class
pointer.
At any rate:
> The templates are probably pointless in retrospect since it works on any
> void*; I don't remember why I did it that way.
The reason you did it as a template is so that you call the proper class
destructor for the objects on the Muncher list, not just the (void)
destructor.
I think I have a Muncher<T> working.
Thank you for your suggestion.
-Rob
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
==== Rob Knop ===== rknop@lbl.gov ====== http://panisse.lbl.gov/~rknop ======
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]