summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}
}