Re: main loop
- From: The Saltydog <thesaltydog gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: main loop
- Date: Sat, 9 Jul 2005 15:34:06 +0200
On 7/9/05, Maciej Katafiasz <ml mathrick org> wrote:
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()).
It is due to the fact that I am running a time-demanding deep routine
in main before executing gtk-main. Then, from the routine I am
executing
while (gtk_events_pending()) { gtk_main_iteration(); }
so that the GUI comes up. But at that point, if I click on exit
(gtk-main-quit()) before the subroutine has ended, I got the main-loop
eror.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]