From 9bcab6db7815e0b0a5f1271a206fe6162b0b2619 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 8 Feb 2012 16:45:40 +0000 Subject: [PATCH] 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 --- libcef/web_drop_target_gtk.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }