Mercurial > dwindows
changeset 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 | f0df014e44d8 |
files | gtk3/dw.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gtk3/dw.c Wed Sep 28 08:22:48 2011 +0000 +++ b/gtk3/dw.c Wed Sep 28 08:28:54 2011 +0000 @@ -4767,12 +4767,12 @@ */ gboolean _dw_update_progress_bar(gpointer data) { - if(g_object_get_data(G_OBJECT(data, "_dw_alive"))) + if(g_object_get_data(G_OBJECT(data), "_dw_alive")) { gtk_progress_bar_pulse(GTK_PROGRESS_BAR(data)); - return FALSE; - } - return TRUE; + return TRUE; + } + return FALSE; } /*