diff options
author | James Booth <boothj5@gmail.com> | 2012-03-01 01:44:47 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-03-01 01:44:47 +0000 |
commit | 723a99540d1c3971ea02645c118fda2d1814d88a (patch) | |
tree | b207f738d09d78eaf7db6e62106794505c32021c /main.c | |
parent | 0dac914813d942ae8c4ad9eaa7ec1d9ce8dceb9a (diff) | |
download | profani-tty-723a99540d1c3971ea02645c118fda2d1814d88a.tar.gz |
Tidied initialisation
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/main.c b/main.c index a9a8b6b8..97a69391 100644 --- a/main.c +++ b/main.c @@ -23,8 +23,6 @@ #include <stdio.h> #include <string.h> -#include "log.h" -#include "windows.h" #include "profanity.h" int main(int argc, char **argv) @@ -47,13 +45,9 @@ int main(int argc, char **argv) } } - log_init(); - gui_init(); - - profanity_main(disable_tls); - - gui_close(); - log_close(); + profanity_init(disable_tls); + profanity_run(); + profanity_shutdown(); return 0; } |