aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/gnunet-conversation-gtk_contacts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_contacts.c')
-rw-r--r--src/conversation/gnunet-conversation-gtk_contacts.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_contacts.c b/src/conversation/gnunet-conversation-gtk_contacts.c
index 6daf8a0f..17fda5e5 100644
--- a/src/conversation/gnunet-conversation-gtk_contacts.c
+++ b/src/conversation/gnunet-conversation-gtk_contacts.c
@@ -548,7 +548,7 @@ GNUNET_CONVERSATION_GTK_row_activated ()
548 548
549 address_entry = GTK_ENTRY ( GNUNET_CONVERSATION_GTK_get_main_window_object ("GNUNET_GTK_conversation_address")); 549 address_entry = GTK_ENTRY ( GNUNET_CONVERSATION_GTK_get_main_window_object ("GNUNET_GTK_conversation_address"));
550 gtk_entry_set_text (address_entry, callAddress); 550 gtk_entry_set_text (address_entry, callAddress);
551 //do_call (callAddress); 551 do_call (callAddress);
552} 552}
553 553
554/* 554/*
@@ -642,13 +642,15 @@ GNUNET_CONVERSATION_GTK_CONTACTS_init ()
642 GTK_TREE_VIEW (GNUNET_CONVERSATION_GTK_get_main_window_object ("gnunet_conversation_gtk_treeview")); 642 GTK_TREE_VIEW (GNUNET_CONVERSATION_GTK_get_main_window_object ("gnunet_conversation_gtk_treeview"));
643 contacts_treemodel = GTK_TREE_MODEL (contacts_liststore); 643 contacts_treemodel = GTK_TREE_MODEL (contacts_liststore);
644 644
645 645 // zone list
646 // zone list
647 zone_liststore = 646 zone_liststore =
648 GTK_LIST_STORE (GNUNET_CONVERSATION_GTK_get_main_window_object ("gnunet_conversation_gtk_contacts_zone_liststore")); 647 GTK_LIST_STORE (GNUNET_CONVERSATION_GTK_get_main_window_object ("gnunet_conversation_gtk_contacts_zone_liststore"));
648
649 zone_treestore = 649 zone_treestore =
650 GTK_TREE_STORE (GNUNET_CONVERSATION_GTK_get_main_window_object ("gnunet_conversation_gtk_contacts_zone_treestore")); 650 GTK_TREE_STORE (GNUNET_CONVERSATION_GTK_get_main_window_object ("gnunet_conversation_gtk_contacts_zone_treestore"));
651 zone_treemodel = GTK_TREE_MODEL (zone_liststore); 651 zone_treemodel = GTK_TREE_MODEL (zone_liststore);
652 zone_treeview =
653 GTK_TREE_VIEW (get_object ("gnunet_conversation_gtk_zone_treeview"));
652 654
653 gtk_tree_model_get_iter_first(zone_treemodel, &iterContactsInit); 655 gtk_tree_model_get_iter_first(zone_treemodel, &iterContactsInit);
654 gtk_tree_model_iter_next(zone_treemodel, &iterContactsInit); 656 gtk_tree_model_iter_next(zone_treemodel, &iterContactsInit);
@@ -665,7 +667,8 @@ GNUNET_CONVERSATION_GTK_CONTACTS_init ()
665extern void 667extern void
666GNUNET_CONVERSATION_GTK_CONTACTS_shutdown() 668GNUNET_CONVERSATION_GTK_CONTACTS_shutdown()
667{ 669{
668 GNUNET_CRYPTO_ecdsa_key_clear (&zone_pkey); 670 GNUNET_CRYPTO_ecdsa_key_clear (&zone_pkey);
671 GNUNET_IDENTITY_disconnect(id);
669} 672}
670 673
671 674