progress bar doesn't pulse...



Somewhere in my app, i hava a separate thread that does some stuff in a
while loop:


  while (!stopped) {
    
    get_media_packet(s, packet_length);
    g_message("PULSING BAR!!!");
    gtk_progress_bar_pulse (GTK_PROGRESS_BAR (pbar));

    if (stopped) {
      close (output_fh);
      close (s);
    }


I can see the wile loop is being looped because i see the "PULSING BAR"
message passing along in my xterm.  Unfortunately, i don't see my
progress bar pulsing... (im some very few of the cases, it *does*
occasionally happen, but most of the time not) although I can be 100%
sure it executes the call to gtk_progress_bar_pulse().

I didn't setup any fancy stuff for such as step size, i've just created
it at some other place in my app using gtk_progress_bar_new().

What is wrong here?

Greetzzz,
mc303

-- 
Ing. Bart Vandewoestyne               Bart.Vandewoestyne_at_pandora.be
Hugo Verrieststraat 48                         GSM: +32 (0)478 397 697
B-8550 Zwevegem                  http://users.pandora.be/vandewoestyne
----------------------------------------------------------------------
"Any fool can know, the point is to understand." - Albert Einstein



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