From b99e575f5b1b0c423f3810f36ac821e007275c66 Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Sun, 6 Sep 2015 15:33:06 -0600 Subject: time 25 --- totimer.cpp | 2 +- totimer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/totimer.cpp b/totimer.cpp index b4209dd..ec9b5dd 100644 --- a/totimer.cpp +++ b/totimer.cpp @@ -69,7 +69,7 @@ void timer_set(tres* lastres, guint32 wait) { timeout=true; lastres->time = lastres->time + wait; - timerid = g_timeout_add(wait*1000,(GSourceFunc)notify,lastres); + timerid = g_timeout_add(wait*60*1000,(GSourceFunc)notify,lastres); } } diff --git a/totimer.h b/totimer.h index f529360..0bbd5bb 100644 --- a/totimer.h +++ b/totimer.h @@ -9,7 +9,7 @@ #include "logging.h" #include "glib.h" -#define POTIME 1 +#define POTIME 25 #define POTEXT 5 void timer_init(); -- cgit v1.2.3-70-g09d2