aboutsummaryrefslogtreecommitdiff
path: root/src/ui/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/chat.c')
-rw-r--r--src/ui/chat.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/chat.c b/src/ui/chat.c
index bf5085c..45d361e 100644
--- a/src/ui/chat.c
+++ b/src/ui/chat.c
@@ -30,10 +30,9 @@
30#include "message.h" 30#include "message.h"
31#include "messenger.h" 31#include "messenger.h"
32#include "picker.h" 32#include "picker.h"
33#include "profile_entry.h"
34
35#include "../application.h" 33#include "../application.h"
36#include "../contact.h" 34#include "../contact.h"
35#include "account_entry.h"
37 36
38static gboolean 37static gboolean
39_flap_reveal_switch(gpointer user_data) 38_flap_reveal_switch(gpointer user_data)
@@ -638,7 +637,7 @@ iterate_ui_chat_update_group_contacts(void *cls,
638 ); 637 );
639 638
640 GtkListBox *listbox = closure->listbox; 639 GtkListBox *listbox = closure->listbox;
641 UI_PROFILE_ENTRY_Handle* entry = ui_profile_entry_new(closure->app); 640 UI_ACCOUNT_ENTRY_Handle* entry = ui_account_entry_new(closure->app);
642 641
643 const char *name = GNUNET_CHAT_contact_get_name(contact); 642 const char *name = GNUNET_CHAT_contact_get_name(contact);
644 643
@@ -653,7 +652,7 @@ iterate_ui_chat_update_group_contacts(void *cls,
653 652
654 g_hash_table_insert(closure->bindings, row, contact); 653 g_hash_table_insert(closure->bindings, row, contact);
655 654
656 ui_profile_entry_delete(entry); 655 ui_account_entry_delete(entry);
657 return GNUNET_YES; 656 return GNUNET_YES;
658} 657}
659 658