Dnia 07-07-2005, czw o godzinie 15:47 +0200, The Saltydog napisaĆ: > I need to stop my application even if a loop is running. By executing > gtk_main_quit() I got this error: > > Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed > > ..but I didn't started any new loop. It is the main loop that is > running. How can I safely stop it?
This error means you don't have any mainloop running that could be stopped. Seems like you're running gtk_main_quit() too many times, you should rather exit the process (via exit() or return from main()). Cheers, Maciej -- Being really good at C++ is like being really good at using rocks to sharpen sticks. (Thant Tessman) -------- Maciej Katafiasz <[EMAIL PROTECTED]> http://mathrick.org _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list