Linux: Remove the gdk_drag_context_get_suggested_action accessor that requires gtk+ 2.21 or greater.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@481 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2012-02-08 16:45:40 +00:00
parent 3309ccf917
commit 9bcab6db78

View File

@ -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);
}