comparison gtk3/dw.c @ 1191:40500dabb112

Compile fix and fix for returning wrong value from the timeout function on GTK3.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 28 Sep 2011 08:28:54 +0000
parents 76262040ed5f
children fc87309372ef
comparison
equal deleted inserted replaced
1190:76262040ed5f 1191:40500dabb112
4765 /* Internal function to update the progress bar 4765 /* Internal function to update the progress bar
4766 * while in an indeterminate state. 4766 * while in an indeterminate state.
4767 */ 4767 */
4768 gboolean _dw_update_progress_bar(gpointer data) 4768 gboolean _dw_update_progress_bar(gpointer data)
4769 { 4769 {
4770 if(g_object_get_data(G_OBJECT(data, "_dw_alive"))) 4770 if(g_object_get_data(G_OBJECT(data), "_dw_alive"))
4771 { 4771 {
4772 gtk_progress_bar_pulse(GTK_PROGRESS_BAR(data)); 4772 gtk_progress_bar_pulse(GTK_PROGRESS_BAR(data));
4773 return FALSE; 4773 return TRUE;
4774 } 4774 }
4775 return TRUE; 4775 return FALSE;
4776 } 4776 }
4777 4777
4778 /* 4778 /*
4779 * Sets the percent bar position. 4779 * Sets the percent bar position.
4780 * Parameters: 4780 * Parameters: