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, 2 insertions, 2 deletions
diff --git a/src/application.c b/src/application.c
index 46456b9..397621c 100644
--- a/src/application.c
+++ b/src/application.c
@@ -100,7 +100,7 @@ application_init(MESSENGER_Application *app,
100 100
101 pthread_mutex_init(&(app->chat.mutex), NULL); 101 pthread_mutex_init(&(app->chat.mutex), NULL);
102 102
103 app->ui.bindings = g_hash_table_new(g_direct_hash, g_direct_equal); 103 app->bindings = bindings_create();
104 104
105 g_application_add_main_option( 105 g_application_add_main_option(
106 G_APPLICATION(app->application), 106 G_APPLICATION(app->application),
@@ -195,7 +195,7 @@ application_run(MESSENGER_Application *app)
195 195
196 pthread_join(app->chat.tid, NULL); 196 pthread_join(app->chat.tid, NULL);
197 197
198 g_hash_table_destroy(app->ui.bindings); 198 bindings_destroy(app->bindings);
199 199
200 close(app->chat.pipe[0]); 200 close(app->chat.pipe[0]);
201 close(app->chat.pipe[1]); 201 close(app->chat.pipe[1]);