summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-09-19 21:04:30 +0200
committerxengineering <me@xengineering.eu>2022-09-19 21:04:30 +0200
commit003b60fdc1d1f9b8dac131eac1a19dca34bcd98a (patch)
tree2fa8f3ce7b512df9d6d3b7108736cff417eccccf
parentffd5875208a959d56cde4dc2f88a700d486f6749 (diff)
downloadlimox-003b60fdc1d1f9b8dac131eac1a19dca34bcd98a.tar
limox-003b60fdc1d1f9b8dac131eac1a19dca34bcd98a.tar.zst
limox-003b60fdc1d1f9b8dac131eac1a19dca34bcd98a.zip
Move net_quit() call to main.c
-rw-r--r--gtk.c1
-rw-r--r--main.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/gtk.c b/gtk.c
index b519a28..03dfe79 100644
--- a/gtk.c
+++ b/gtk.c
@@ -39,7 +39,6 @@ static GtkWidget* roster_button;
static void quit_cb(void) {
- net_quit();
g_application_quit(G_APPLICATION(app));
}
diff --git a/main.c b/main.c
index 52fa721..42343a8 100644
--- a/main.c
+++ b/main.c
@@ -40,6 +40,7 @@ int main(int argc, char* argv[]) {
} else {
net_init();
gui_run();
+ net_quit();
}
}