Xlib: unexpected async reply



Hello,

I am getting the following error when I call gtk_progress_bar_set_fraction(pbProgress, (amountDone/total));

pbProgress is a GtkProgressBar and both amountDone and total are of type 'double'.

The error I get is:

Xlib: unexpected async reply (sequence 0x10e6)

I have also set a g_timeout_add that every 2.5 seconds calls a method that only does:

while(gtk_events_pending())
  gtk_main_iteration();

I do this so that the Progress Bar will update on it's own.


Does anyone know of any reasons that cause this Xlib error message?


Thanks,

-------
Alvin Beach
Email: alvinbeach hotmail com
Website: http://www.vianet.ca/~abeach




_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail




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