diff options
Diffstat (limited to 'src/ui/new_contact.c')
-rw-r--r-- | src/ui/new_contact.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/new_contact.c b/src/ui/new_contact.c index 7e6f9c6..147f591 100644 --- a/src/ui/new_contact.c +++ b/src/ui/new_contact.c | |||
@@ -287,7 +287,9 @@ ui_new_contact_dialog_init(MESSENGER_Application *app, | |||
287 | handle->video = zbar_video_create(); | 287 | handle->video = zbar_video_create(); |
288 | handle->scanner = zbar_image_scanner_create(); | 288 | handle->scanner = zbar_image_scanner_create(); |
289 | 289 | ||
290 | handle->builder = gtk_builder_new_from_file("resources/ui/new_contact.ui"); | 290 | handle->builder = gtk_builder_new_from_resource( |
291 | application_get_resource_path(app, "ui/new_contact.ui") | ||
292 | ); | ||
291 | 293 | ||
292 | handle->dialog = GTK_DIALOG( | 294 | handle->dialog = GTK_DIALOG( |
293 | gtk_builder_get_object(handle->builder, "new_contact_dialog") | 295 | gtk_builder_get_object(handle->builder, "new_contact_dialog") |