timeouts no longer work



I was using timeout functions  in my program eXtace and when I upgraded to
Mandrake 8.0 (also tested with redhat 7.1) and the timeouts no longer work
properly.. 

the code is:
display_id = gtk_timeout_add((int)((1/(float)refresh_rate)*1000.0),
(GtkFunction)draw, NULL); 

From my debugging code, "draw()" function runs only once and then never again..

It works on mandrake 7.2 (and older) and redhat 7.0 (and older).  It seems to
be tied to something with the newer GTK/gdk/glib and the new kernels/libc.  Has
anyone else experienced this??





=====
Dave J. Andruczyk
Enterprise Resource Providers

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




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