From 2f63794da7acbfcf61558428cd84f590a73fc13f Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Sun, 6 Sep 2015 15:10:51 -0600 Subject: revert to original time --- main.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index b5ddb6f..8865c33 100644 --- a/main.cpp +++ b/main.cpp @@ -3,17 +3,18 @@ #include #include "logging.h" #include "totimer.h" +#include "pomodori.h" +#include "trayicon.h" +#include "string.h" + int main(int argc, char** argv) { if (argc<2) return 0; gtk_init(&argc, &argv); - notify_init("pomodori"); - tres lastres; - lastres.time=0; - lastres.reason=argv[1]; - settimer(&lastres,POTIME); + timer_init(); + tray_init(); gtk_main(); return 0; } \ No newline at end of file -- cgit v1.2.3-70-g09d2