RE: [java-gnome-hackers] Debugging Native code
Brought to you by:
afcowie
From: Philip A. C. <pc...@td...> - 2002-09-03 14:20:00
|
I agree that it is a bad thing for About to not inherit from Dialog.=20 Again, my concern is that an unecessary (from About's point of view, not unecessary for Dialog). I'll look into this further to see if there's another solution. I never ment the change to be perminant. I did it while trying to get things to work, and wrote to you about it so you'd know what I was thinking. I'll change the inheritance back if you haven't already. On Tue, 2002-09-03 at 08:44, Jeffrey Morgan wrote: > It is very important that we maintain the same > object hierarchy that exists in the native libs. > If we don't, calls on parent methods will fail. > About must inherit from Dialog. =20 >=20 > -Jeff >=20 > > Since About extended Dialog, Dialog's empty parameter constructor was > > run. This constructor makes a native call which allocates=20 > > memory for a > > gtk dialog which is never used. Maybe we don't care since it=20 > > should be > > cleaned up in the finalize event? I changed About so that it extends > > Window, but am not sure that this the *correct* answer. --=20 Philip A. Chapman |