diff options
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk.c')
-rw-r--r-- | src/conversation/gnunet-conversation-gtk.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/conversation/gnunet-conversation-gtk.c b/src/conversation/gnunet-conversation-gtk.c index 010194f2..f6675966 100644 --- a/src/conversation/gnunet-conversation-gtk.c +++ b/src/conversation/gnunet-conversation-gtk.c | |||
@@ -1072,9 +1072,15 @@ call_event_handler (void *cls, | |||
1072 | * | 1072 | * |
1073 | * @param arg arguments given to the command | 1073 | * @param arg arguments given to the command |
1074 | */ | 1074 | */ |
1075 | extern void | 1075 | void |
1076 | do_call (const char *arg) | 1076 | GSC_do_call (const char *arg) |
1077 | { | 1077 | { |
1078 | GtkEntry *address_entry; | ||
1079 | |||
1080 | address_entry = GTK_ENTRY (GCG_get_main_window_object ("GNUNET_GTK_conversation_address")); | ||
1081 | gtk_entry_set_text (address_entry, | ||
1082 | address); | ||
1083 | |||
1078 | if (NULL == caller_id) | 1084 | if (NULL == caller_id) |
1079 | { | 1085 | { |
1080 | GCG_log (_("Ego `%s' not available\n"), ego_name); | 1086 | GCG_log (_("Ego `%s' not available\n"), ego_name); |
@@ -1556,7 +1562,7 @@ GNUNET_CONVERSATION_GTK_on_call_clicked () | |||
1556 | 1562 | ||
1557 | address_entry = GTK_ENTRY (GCG_get_main_window_object ("GNUNET_GTK_conversation_address")); | 1563 | address_entry = GTK_ENTRY (GCG_get_main_window_object ("GNUNET_GTK_conversation_address")); |
1558 | 1564 | ||
1559 | do_call (gtk_entry_get_text(address_entry)); | 1565 | GSC_do_call (gtk_entry_get_text(address_entry)); |
1560 | //disable_button ("GNUNET_GTK_conversation_accept_button"); | 1566 | //disable_button ("GNUNET_GTK_conversation_accept_button"); |
1561 | do_status (); | 1567 | do_status (); |
1562 | // free(to_addr); | 1568 | // free(to_addr); |