diff options
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_contacts.c')
-rw-r--r-- | src/conversation/gnunet-conversation-gtk_contacts.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_contacts.c b/src/conversation/gnunet-conversation-gtk_contacts.c index f3e2bf0c..6619363e 100644 --- a/src/conversation/gnunet-conversation-gtk_contacts.c +++ b/src/conversation/gnunet-conversation-gtk_contacts.c | |||
@@ -46,7 +46,7 @@ | |||
46 | /** | 46 | /** |
47 | * Our configurations. | 47 | * Our configurations. |
48 | */ | 48 | */ |
49 | //static struct GNUNET_CONFIGURATION_Handle *cfg; | 49 | static struct GNUNET_CONFIGURATION_Handle *cfg; |
50 | /** | 50 | /** |
51 | * Name of our ego. | 51 | * Name of our ego. |
52 | */ | 52 | */ |
@@ -302,7 +302,7 @@ identity_cb (void *cls, struct GNUNET_IDENTITY_Ego *ego, void **ctx, | |||
302 | 302 | ||
303 | 303 | ||
304 | // zone_pkey = *GNUNET_IDENTITY_ego_get_private_key (caller_id); | 304 | // zone_pkey = *GNUNET_IDENTITY_ego_get_private_key (caller_id); |
305 | ns = GNUNET_NAMESTORE_connect (GIG_get_configuration ()); | 305 | ns = GNUNET_NAMESTORE_connect (cfg); |
306 | 306 | ||
307 | 307 | ||
308 | // list_it = | 308 | // list_it = |
@@ -631,7 +631,7 @@ GNUNET_CONVERSATION_GTK_CONTACTS_init () | |||
631 | { | 631 | { |
632 | GtkTreeIter iterContactsInit; | 632 | GtkTreeIter iterContactsInit; |
633 | 633 | ||
634 | //cfg = GIG_get_configuration (); | 634 | cfg = GIG_get_configuration (); |
635 | 635 | ||
636 | 636 | ||
637 | // contacts | 637 | // contacts |
@@ -657,7 +657,7 @@ GNUNET_CONVERSATION_GTK_CONTACTS_init () | |||
657 | 657 | ||
658 | gtk_combo_box_set_active_iter(GTK_COMBO_BOX (GNUNET_CONVERSATION_GTK_get_main_window_object ("gnunet_conversation_gtk_contacts_zone_combobox")), &iterContactsInit); | 658 | gtk_combo_box_set_active_iter(GTK_COMBO_BOX (GNUNET_CONVERSATION_GTK_get_main_window_object ("gnunet_conversation_gtk_contacts_zone_combobox")), &iterContactsInit); |
659 | 659 | ||
660 | id = GNUNET_IDENTITY_connect (GIG_get_configuration (), &identity_cb, NULL); | 660 | id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); |
661 | // zone_pkey = *GNUNET_IDENTITY_ego_get_private_key (caller_id); | 661 | // zone_pkey = *GNUNET_IDENTITY_ego_get_private_key (caller_id); |
662 | // gtk_combo_box_set_active(GTK_WIDGET (get_object ("gnunet_conversation_gtk_contacts_zone_combobox")), 1); | 662 | // gtk_combo_box_set_active(GTK_WIDGET (get_object ("gnunet_conversation_gtk_contacts_zone_combobox")), 1); |
663 | // gtk_combo_box_set_active(GTK_WIDGET (get_object (ml,"gnunet_conversation_gtk_outgoing_zone_combobox")), 1); | 663 | // gtk_combo_box_set_active(GTK_WIDGET (get_object (ml,"gnunet_conversation_gtk_outgoing_zone_combobox")), 1); |