diff options
Diffstat (limited to 'src/ui/chat_entry.c')
-rw-r--r-- | src/ui/chat_entry.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/chat_entry.c b/src/ui/chat_entry.c index 7de4064..1dabec8 100644 --- a/src/ui/chat_entry.c +++ b/src/ui/chat_entry.c | |||
@@ -35,7 +35,9 @@ ui_chat_entry_new(MESSENGER_Application *app) | |||
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->chat = ui_chat_new(app); | 37 | handle->chat = ui_chat_new(app); |
38 | handle->builder = gtk_builder_new_from_file("resources/ui/chat_entry.ui"); | 38 | handle->builder = gtk_builder_new_from_resource( |
39 | application_get_resource_path(app, "ui/chat_entry.ui") | ||
40 | ); | ||
39 | 41 | ||
40 | handle->entry_box = GTK_WIDGET( | 42 | handle->entry_box = GTK_WIDGET( |
41 | gtk_builder_get_object(handle->builder, "entry_box") | 43 | gtk_builder_get_object(handle->builder, "entry_box") |