mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-03 04:27:43 +01:00
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:
parent
3309ccf917
commit
9bcab6db78
@ -72,7 +72,7 @@ int supported_targets[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
WebDragOperationsMask _mask(GdkDragContext* context) {
|
WebDragOperationsMask _mask(GdkDragContext* context) {
|
||||||
GdkDragAction propsed_action = gdk_drag_context_get_suggested_action(context);
|
GdkDragAction propsed_action = context->suggested_action;
|
||||||
return (WebDragOperationsMask)DragDropTypes::GdkDragActionToDragOperation(
|
return (WebDragOperationsMask)DragDropTypes::GdkDragActionToDragOperation(
|
||||||
propsed_action);
|
propsed_action);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user