summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Zhao <ztuowen@gmail.com>2015-09-06 15:33:06 -0600
committerJoe Zhao <ztuowen@gmail.com>2015-09-06 15:33:06 -0600
commitb99e575f5b1b0c423f3810f36ac821e007275c66 (patch)
tree3077cb046c0f6a25a099b789dc48edd701a058c4
parent41ce2c3aca241a3866246e68fc7b91e6151e2f51 (diff)
downloadpomodori-master.tar.gz
pomodori-master.tar.bz2
pomodori-master.zip
-rw-r--r--totimer.cpp2
-rw-r--r--totimer.h2
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();