gtk_main_iteration() exits app first time through



Hey All,

Some months ago, I asked how to make a modeless dialog (a progress dialog)
appear while continuing to execute in the main thread.  Someone (thanks!)
suggested using

    while (gtk_events_pending())
        gtk_main_iteration();

to make sure the new dialog gets shown.  I implemented that and it worked
great for the last 6 months or so.  Just today, I noticed that the program
exits the first time it calls gtk_main_iteration();

Does anyone know what happened?

TIA

-Garth
-- 
Garth Upshaw
Garth's KidStuff



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]