Closed mvz closed 13 years ago
In the current implementation of exit, Gtk.main_quit is called once more than the number of apps. When running sample4, this leads to error messages on exit if the text in the text box was cut and pasted:
exit
Gtk-CRITICAL **:IA__gtk_main_quit: assertion `main_loops != NULL' failed
The problem seems to usually not appear because the application has already exited before the extra timer is triggered.
This commit solves the problem.
Thank you for the bug fixing. I've merged. :)
In the current implementation of
exit
, Gtk.main_quit is called once more than the number of apps. When running sample4, this leads to error messages on exit if the text in the text box was cut and pasted:The problem seems to usually not appear because the application has already exited before the extra timer is triggered.
This commit solves the problem.