summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorJoe Zhao <ztuowen@gmail.com>2015-09-06 15:10:51 -0600
committerJoe Zhao <ztuowen@gmail.com>2015-09-06 15:10:51 -0600
commit2f63794da7acbfcf61558428cd84f590a73fc13f (patch)
treebda4bc9682ee5704ad752d601b9ede81de198bbe /main.cpp
parent3507dcb7a51249962e40847626f72f5207e8c0af (diff)
downloadpomodori-2f63794da7acbfcf61558428cd84f590a73fc13f.tar.gz
pomodori-2f63794da7acbfcf61558428cd84f590a73fc13f.tar.bz2
pomodori-2f63794da7acbfcf61558428cd84f590a73fc13f.zip
revert to original time
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/main.cpp b/main.cpp
index b5ddb6f..8865c33 100644
--- a/main.cpp
+++ b/main.cpp
@@ -3,17 +3,18 @@
#include <gtk/gtk.h>
#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