From 5a0121306d19378f257eb37dc46b568c236110d0 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 1 Dec 2012 18:47:50 +0000 Subject: [PATCH] Fixed compile error --- src/windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows.c b/src/windows.c index 87318766..93e6980e 100644 --- a/src/windows.c +++ b/src/windows.c @@ -185,7 +185,7 @@ ui_get_idle_time(void) return result; #else - gdouble seconds_elapsed = g_timer_elapsed(ui_idle_time); + gdouble seconds_elapsed = g_timer_elapsed(ui_idle_time, NULL); unsigned long ms_elapsed = seconds_elapsed * 1000.0; return ms_elapsed; #endif