diff options
Diffstat (limited to 'src/ui/new_group.c')
-rw-r--r-- | src/ui/new_group.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/new_group.c b/src/ui/new_group.c index e161fbb..dbad66b 100644 --- a/src/ui/new_group.c +++ b/src/ui/new_group.c | |||
@@ -163,7 +163,7 @@ _iterate_contacts(void *cls, | |||
163 | 163 | ||
164 | const char *key = GNUNET_CHAT_contact_get_key(contact); | 164 | const char *key = GNUNET_CHAT_contact_get_key(contact); |
165 | 165 | ||
166 | UI_CONTACT_ENTRY_Handle *entry = ui_contact_entry_new(); | 166 | UI_CONTACT_ENTRY_Handle *entry = ui_contact_entry_new(app); |
167 | gtk_list_box_prepend( | 167 | gtk_list_box_prepend( |
168 | app->ui.new_group.contacts_listbox, | 168 | app->ui.new_group.contacts_listbox, |
169 | entry->entry_box | 169 | entry->entry_box |
@@ -198,7 +198,9 @@ ui_new_group_dialog_init(MESSENGER_Application *app, | |||
198 | { | 198 | { |
199 | handle->contact_entries = NULL; | 199 | handle->contact_entries = NULL; |
200 | 200 | ||
201 | handle->builder = gtk_builder_new_from_file("resources/ui/new_group.ui"); | 201 | handle->builder = gtk_builder_new_from_resource( |
202 | application_get_resource_path(app, "ui/new_group.ui") | ||
203 | ); | ||
202 | 204 | ||
203 | handle->dialog = GTK_DIALOG( | 205 | handle->dialog = GTK_DIALOG( |
204 | gtk_builder_get_object(handle->builder, "new_group_dialog") | 206 | gtk_builder_get_object(handle->builder, "new_group_dialog") |