You must use gdk_threads_enter and gdk_threads_leave surrounding any UI
change on the thread, to acquire the gdk global mutex.
On Mon, 2006-05-15 at 13:50 +0200, nik600 wrote:
> hi
>
> i upgrade a progress bar from the body of a thread with the following code:
>
> void *body_monitor_avanzamento(
hi
i upgrade a progress bar from the body of a thread with the following code:
void *body_monitor_avanzamento(void *args){
monitor_avanzamento *m=(monitor_avanzamento *)args;
float avanzamento=0.0;
while(avanzamento<1){
avanzamento=(float)*(m->db->counter_shared)/(float)m->tot_pacchett