Re: main loop
- From: Maciej Katafiasz <ml mathrick org>
- To: The Saltydog <thesaltydog gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: main loop
- Date: Sat, 09 Jul 2005 10:07:34 +0200
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 <ml mathrick org>
http://mathrick.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]