From 003b60fdc1d1f9b8dac131eac1a19dca34bcd98a Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 19 Sep 2022 21:04:30 +0200 Subject: Move net_quit() call to main.c --- gtk.c | 1 - main.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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(); } } -- cgit v1.2.3-70-g09d2