[gtkada] memory allocation problems in Gtkada 3.4.2?

Emmanuel Briot briot at adacore.com
Sat Mar 22 10:58:01 CET 2014


> I was afraid that you were going to say something like that. And of course, you are 100% right. Since the code that produces the list of widgets and their get_type functions is generated, I am going to change the generator to generate the with/use clauses and the appropriate gtk_new's. Will post to this list and on this subject again when I have some results.


I actually noticed that in some of the custom GtkAda widgets, we sometimes
use  G_New (..Get_Type)  to create widgets (see for instance gtkada-multi_paned.adb)
This might be a good approach for you as well.

regards
Emmanuel


More information about the gtkada mailing list