BUG ? in gtk_events_pending()




Hi,

    I switched to gtk+-0.99.8 from gtk+-0.99.7 and my progress bar 
routine was not working properly. I used this piece of code:

    while( gtk_events_oending() ) 
        gtk_main_iteration();
        
to redraw program windows while some function was computing. Now the 
program is stuck in this loop, because gtk_events_pending() does not 
return 0, instead it is returning 1 when there are no events in the 
events queue. I examined the gtk_main.c and found, that it may be 
because of idle functions, but I do not use any in my program.

                                        Hynek
                    



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