RE: [java-gnome-hackers] Debugging Native code
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2002-09-03 13:45:15
|
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. -Jeff > Since About extended Dialog, Dialog's empty parameter constructor was > run. This constructor makes a native call which allocates > memory for a > gtk dialog which is never used. Maybe we don't care since it > 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. |