aboutsummaryrefslogtreecommitdiff
path: root/src/ui/new_profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/new_profile.c')
-rw-r--r--src/ui/new_profile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/new_profile.c b/src/ui/new_profile.c
index d845fdf..d1d0274 100644
--- a/src/ui/new_profile.c
+++ b/src/ui/new_profile.c
@@ -77,7 +77,9 @@ void
77ui_new_profile_dialog_init(MESSENGER_Application *app, 77ui_new_profile_dialog_init(MESSENGER_Application *app,
78 UI_NEW_PROFILE_Handle *handle) 78 UI_NEW_PROFILE_Handle *handle)
79{ 79{
80 handle->builder = gtk_builder_new_from_file("resources/ui/new_profile.ui"); 80 handle->builder = gtk_builder_new_from_resource(
81 application_get_resource_path(app, "ui/new_profile.ui")
82 );
81 83
82 handle->dialog = GTK_DIALOG( 84 handle->dialog = GTK_DIALOG(
83 gtk_builder_get_object(handle->builder, "new_profile_dialog") 85 gtk_builder_get_object(handle->builder, "new_profile_dialog")