aboutsummaryrefslogtreecommitdiff
path: root/src/application.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.c')
-rw-r--r--src/application.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/application.c b/src/application.c
index e73d9de..764b8ea 100644
--- a/src/application.c
+++ b/src/application.c
@@ -48,7 +48,7 @@ _application_activate(UNUSED GtkApplication* application,
48{ 48{
49 MESSENGER_Application *app = (MESSENGER_Application*) user_data; 49 MESSENGER_Application *app = (MESSENGER_Application*) user_data;
50 50
51 ui_messenger_run(app); 51 ui_messenger_init(app, &(app->ui.messenger));
52} 52}
53 53
54void 54void
@@ -140,6 +140,8 @@ application_run(MESSENGER_Application *app)
140 140
141 pthread_join(app->chat.tid, NULL); 141 pthread_join(app->chat.tid, NULL);
142 142
143 ui_messenger_cleanup(&(app->ui.messenger));
144
143 g_hash_table_destroy(app->ui.bindings); 145 g_hash_table_destroy(app->ui.bindings);
144 146
145 notify_uninit(); 147 notify_uninit();