summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-08-14 16:07:34 +0200
committerxengineering <me@xengineering.eu>2022-08-15 19:01:15 +0200
commit21a2b2033485c106a537e5e2302f4e4d96a66b94 (patch)
tree8457f0057596540eb193fcb3410d07071160aca3 /main.c
parent2acca5d84a318f6c8858acb8ee7eca7e59369160 (diff)
downloadlimox-21a2b2033485c106a537e5e2302f4e4d96a66b94.tar
limox-21a2b2033485c106a537e5e2302f4e4d96a66b94.tar.zst
limox-21a2b2033485c106a537e5e2302f4e4d96a66b94.zip
Implement XMPP connect / disconnect
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2d2b330..c94b023 100644
--- a/main.c
+++ b/main.c
@@ -5,6 +5,7 @@
#include <unistd.h>
#include "gui.h"
+#include "limox.h"
// error code definition
@@ -37,7 +38,8 @@ int main(int argc, char* argv[]) {
if (opts.unknown || opts.help) {
print_help();
} else {
- run_gui();
+ limox_init();
+ gui_run();
}
}