aboutsummaryrefslogtreecommitdiff
path: root/src/ui/chat_entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/chat_entry.c')
-rw-r--r--src/ui/chat_entry.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/chat_entry.c b/src/ui/chat_entry.c
index 3c9461e..99f03cc 100644
--- a/src/ui/chat_entry.c
+++ b/src/ui/chat_entry.c
@@ -34,6 +34,8 @@ ui_chat_entry_new(MESSENGER_Application *app)
34{ 34{
35 UI_CHAT_ENTRY_Handle* handle = g_malloc(sizeof(UI_CHAT_ENTRY_Handle)); 35 UI_CHAT_ENTRY_Handle* handle = g_malloc(sizeof(UI_CHAT_ENTRY_Handle));
36 36
37 handle->joining = bindings_create();
38
37 handle->chat = ui_chat_new(app); 39 handle->chat = ui_chat_new(app);
38 handle->builder = gtk_builder_new_from_resource( 40 handle->builder = gtk_builder_new_from_resource(
39 application_get_resource_path(app, "ui/chat_entry.ui") 41 application_get_resource_path(app, "ui/chat_entry.ui")
@@ -153,5 +155,7 @@ ui_chat_entry_delete(UI_CHAT_ENTRY_Handle *handle)
153 155
154 g_object_unref(handle->builder); 156 g_object_unref(handle->builder);
155 157
158 bindings_destroy(handle->joining);
159
156 g_free(handle); 160 g_free(handle);
157} 161}