I used gtk_main() but had to change this for a while(true) loop with
gtk_main_iteration() inside of it (while(true) { gtk_main_iteration();
/*and then other things I need in the while loop*/}.
This seems to work except that I cannot end the program now as
gtk_main_quit() results in the following error:
Gtk_critical **: file gtkmain.c: line 1149 (gtk_main_quit): assertion
'main_loops != NULL' failed
How is it possible to avoid this error to occur?
Regards,
Kiyoshi |