diff options
Diffstat (limited to 'src/ui/send_file.c')
-rw-r--r-- | src/ui/send_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/send_file.c b/src/ui/send_file.c index 42c5584..5555e73 100644 --- a/src/ui/send_file.c +++ b/src/ui/send_file.c | |||
@@ -65,7 +65,7 @@ handle_send_button_click(GtkButton *button, | |||
65 | MESSENGER_Application *app = (MESSENGER_Application*) user_data; | 65 | MESSENGER_Application *app = (MESSENGER_Application*) user_data; |
66 | 66 | ||
67 | GtkTextView *text_view = GTK_TEXT_VIEW( | 67 | GtkTextView *text_view = GTK_TEXT_VIEW( |
68 | g_hash_table_lookup(app->ui.bindings, button) | 68 | bindings_get(app->bindings, button) |
69 | ); | 69 | ); |
70 | 70 | ||
71 | if (!text_view) | 71 | if (!text_view) |
@@ -78,8 +78,8 @@ handle_send_button_click(GtkButton *button, | |||
78 | if (!filename) | 78 | if (!filename) |
79 | return; | 79 | return; |
80 | 80 | ||
81 | struct GNUNET_CHAT_Context *context = g_hash_table_lookup( | 81 | struct GNUNET_CHAT_Context *context = (struct GNUNET_CHAT_Context*) ( |
82 | app->ui.bindings, text_view | 82 | bindings_get(app->bindings, text_view) |
83 | ); | 83 | ); |
84 | 84 | ||
85 | UI_CHAT_ENTRY_Handle *entry = GNUNET_CHAT_context_get_user_pointer(context); | 85 | UI_CHAT_ENTRY_Handle *entry = GNUNET_CHAT_context_get_user_pointer(context); |