diff options
Diffstat (limited to 'src/ui/send_file.c')
-rw-r--r-- | src/ui/send_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/send_file.c b/src/ui/send_file.c index 5555e73..991e8ce 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 | bindings_get(app->bindings, button) | 68 | g_object_get_qdata(G_OBJECT(button), app->quarks.widget) |
69 | ); | 69 | ); |
70 | 70 | ||
71 | if (!text_view) | 71 | if (!text_view) |
@@ -79,7 +79,7 @@ handle_send_button_click(GtkButton *button, | |||
79 | return; | 79 | return; |
80 | 80 | ||
81 | struct GNUNET_CHAT_Context *context = (struct GNUNET_CHAT_Context*) ( | 81 | struct GNUNET_CHAT_Context *context = (struct GNUNET_CHAT_Context*) ( |
82 | bindings_get(app->bindings, text_view) | 82 | g_object_get_qdata(G_OBJECT(text_view), app->quarks.data) |
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); |