Mercurial > dwindows
comparison gtk/dw.c @ 1192:f0df014e44d8
Similar fix for GTK2 as for GTK3.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 28 Sep 2011 08:31:30 +0000 |
parents | 76262040ed5f |
children | fc87309372ef |
comparison
equal
deleted
inserted
replaced
1191:40500dabb112 | 1192:f0df014e44d8 |
---|---|
5438 /* Internal function to update the progress bar | 5438 /* Internal function to update the progress bar |
5439 * while in an indeterminate state. | 5439 * while in an indeterminate state. |
5440 */ | 5440 */ |
5441 gboolean _dw_update_progress_bar(gpointer data) | 5441 gboolean _dw_update_progress_bar(gpointer data) |
5442 { | 5442 { |
5443 if(g_object_get_data(G_OBJECT(data, "_dw_alive"))) | 5443 if(g_object_get_data(G_OBJECT(data), "_dw_alive")) |
5444 { | 5444 { |
5445 gtk_progress_bar_pulse(GTK_PROGRESS_BAR(data)); | 5445 gtk_progress_bar_pulse(GTK_PROGRESS_BAR(data)); |
5446 return FALSE; | 5446 return TRUE; |
5447 } | 5447 } |
5448 return TRUE; | 5448 return FALSE; |
5449 } | 5449 } |
5450 | 5450 |
5451 /* | 5451 /* |
5452 * Sets the percent bar position. | 5452 * Sets the percent bar position. |
5453 * Parameters: | 5453 * Parameters: |