[gtkada] Finalization do not seem to occure when closing app
Preben Randhol
randhol at pvv.org
Wed May 9 09:50:51 CEST 2001
Jeffrey Carter <jrcarter at acm.org> wrote on 09/05/2001 (09:32) :
> You need to call Gtk.Main.Main_Quit instead of Gtk_Exit. Gtk_Exit exits
> your program immediately, bypassing the call to the runtime to perform
> finalization. Main_Quit exits the Gtk main loop, allowing the program to
> terminate normally.
Ah I see :-) I used the Gtk.Main.Gtk_Exit (0); as it was used in the
examples following GtkAda. Didn't know there was a Quit too :-)
--
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
«For me, Ada95 puts back the joy in programming.»
More information about the gtkada
mailing list