diff options
Diffstat (limited to 'src/ui/messenger.c')
-rw-r--r-- | src/ui/messenger.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/messenger.c b/src/ui/messenger.c index 0db82a0..a926332 100644 --- a/src/ui/messenger.c +++ b/src/ui/messenger.c | |||
@@ -194,7 +194,9 @@ ui_messenger_init(MESSENGER_Application *app, | |||
194 | { | 194 | { |
195 | handle->chat_entries = NULL; | 195 | handle->chat_entries = NULL; |
196 | 196 | ||
197 | handle->builder = gtk_builder_new_from_file("resources/ui/messenger.ui"); | 197 | handle->builder = gtk_builder_new_from_resource( |
198 | application_get_resource_path(app, "ui/messenger.ui") | ||
199 | ); | ||
198 | 200 | ||
199 | handle->main_window = GTK_APPLICATION_WINDOW( | 201 | handle->main_window = GTK_APPLICATION_WINDOW( |
200 | gtk_builder_get_object(handle->builder, "main_window") | 202 | gtk_builder_get_object(handle->builder, "main_window") |