diff options
Diffstat (limited to 'src/ui/send_file.c')
-rw-r--r-- | src/ui/send_file.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/send_file.c b/src/ui/send_file.c index 0d0c04b..4b9643c 100644 --- a/src/ui/send_file.c +++ b/src/ui/send_file.c | |||
@@ -231,7 +231,9 @@ void | |||
231 | ui_send_file_dialog_init(MESSENGER_Application *app, | 231 | ui_send_file_dialog_init(MESSENGER_Application *app, |
232 | UI_SEND_FILE_Handle *handle) | 232 | UI_SEND_FILE_Handle *handle) |
233 | { | 233 | { |
234 | handle->builder = gtk_builder_new_from_file("resources/ui/send_file.ui"); | 234 | handle->builder = gtk_builder_new_from_resource( |
235 | application_get_resource_path(app, "ui/send_file.ui") | ||
236 | ); | ||
235 | 237 | ||
236 | handle->dialog = GTK_DIALOG( | 238 | handle->dialog = GTK_DIALOG( |
237 | gtk_builder_get_object(handle->builder, "send_file_dialog") | 239 | gtk_builder_get_object(handle->builder, "send_file_dialog") |