summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
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