diff options
Diffstat (limited to 'src/state_file.c')
-rw-r--r-- | src/state_file.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/state_file.c b/src/state_file.c index 4ba157b14..aa66720c1 100644 --- a/src/state_file.c +++ b/src/state_file.c @@ -134,8 +134,9 @@ state_file_init(const char *path) state_file_path = g_strdup(path); state_file_read(); - save_state_source_id = g_timeout_add(5 * 60 * 1000, - timer_save_state_file, NULL); + save_state_source_id = g_timeout_add_seconds(5 * 60, + timer_save_state_file, + NULL); } void |