summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-window.c')
-rw-r--r--src/eom-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index db49a7b..d4b3482 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -4182,7 +4182,7 @@ eom_window_drag_data_received (GtkWidget *widget,
if (!gtk_targets_include_uri (&target, 1))
return;
- if (context->suggested_action == GDK_ACTION_COPY) {
+ if (gdk_drag_context_get_suggested_action (context) == GDK_ACTION_COPY) {
window = EOM_WINDOW (widget);
file_list = eom_util_parse_uri_string_list_to_file_list ((const gchar *) gtk_selection_data_get_data (selection_data));