aboutsummaryrefslogtreecommitdiff
path: root/src/application.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.c')
-rw-r--r--src/application.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/application.c b/src/application.c
index 397621c..fd6b86f 100644
--- a/src/application.c
+++ b/src/application.c
@@ -100,7 +100,9 @@ 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->bindings = bindings_create(); 103 app->quarks.widget = g_quark_from_string("messenger_widget");
104 app->quarks.data = g_quark_from_string("messenger_data");
105 app->quarks.ui = g_quark_from_string("messenger_ui");
104 106
105 g_application_add_main_option( 107 g_application_add_main_option(
106 G_APPLICATION(app->application), 108 G_APPLICATION(app->application),
@@ -195,8 +197,6 @@ application_run(MESSENGER_Application *app)
195 197
196 pthread_join(app->chat.tid, NULL); 198 pthread_join(app->chat.tid, NULL);
197 199
198 bindings_destroy(app->bindings);
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]);
202 202