From: H.G.Muller Date: Sat, 19 Sep 2015 17:35:07 +0000 (+0200) Subject: Fix periodic updates GTK X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=b0fb776b32289efa0094c197da58827862499eba;p=xboard.git Fix periodic updates GTK Only the first periodic update event would occur, because the clock function did not retun True to encourage timer events to keep coming. --- diff --git a/gtk/xtimer.c b/gtk/xtimer.c index f891a0e..8600e66 100644 --- a/gtk/xtimer.c +++ b/gtk/xtimer.c @@ -183,13 +183,14 @@ StartLoadGameTimer (long millisec) guint analysisClockTag = 0; -void +int AnalysisClockCallback(gpointer data) { if (gameMode == AnalyzeMode || gameMode == AnalyzeFile || appData.icsEngineAnalyze) { // [DM] AnalysisPeriodicEvent(0); } + return 1; } void