main_loops != null assertion

From: Date: Thu, 14 Jun 2007 07:03:16 +0000
Subject: main_loops != null assertion
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7904@lists.php.net to get a copy of this message
In the on_window_destroy event I call the gtk::main_quit() method to quit the application. This generally works quite well. What doesn't work well is when I try to quit the application while it is still performing a task and updating a progress bar. That is where I get the main_loops != null assertion warning. So I thought I would add while(!gtk::events_pending) gtk::main_quit(); (notice the !). This removed the assertion warning, but the progress bar was still trying to update and I got a host of assertion warnings from that. The progress bar is updated from a callback method if that sheds any light. Does anyone know what is going on or what needs to be done? any help greatly appreciated. Brent -- View this message in context: http://www.nabble.com/main_loops-%21%3D-null-assertion-tf3920015.html#a11114967 Sent from the Php - GTK - General mailing list archive at Nabble.com.

« previous php.gtk.general (#7904) next »