diff --git a/libcef/web_drop_target_gtk.cc b/libcef/web_drop_target_gtk.cc index 7a5ec1378..99df895cb 100644 --- a/libcef/web_drop_target_gtk.cc +++ b/libcef/web_drop_target_gtk.cc @@ -72,7 +72,7 @@ int supported_targets[] = { }; WebDragOperationsMask _mask(GdkDragContext* context) { - GdkDragAction propsed_action = gdk_drag_context_get_suggested_action(context); + GdkDragAction propsed_action = context->suggested_action; return (WebDragOperationsMask)DragDropTypes::GdkDragActionToDragOperation( propsed_action); }