REGRESSION(r206505) [GTK] Build broken with GTK+ 3.14
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Oct 2016 07:45:14 +0000 (07:45 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Oct 2016 07:45:14 +0000 (07:45 +0000)
commit70ccc545400134c34fa23378c7f65083d700f245
treeb39bd76c5063d9eba710f3163abfb724587c630f
parent7ce9d075dac97605be80504130d8d4831b7e8497
REGRESSION(r206505) [GTK] Build broken with GTK+ 3.14
https://bugs.webkit.org/show_bug.cgi?id=162776

Reviewed by Xabier Rodriguez-Calvar.

Do not use gtk_widget_get_action_group() when GTK+ < 3.16, use g_object_set instead to attach the action group
to the menu widget.

* UIProcess/gtk/WebContextMenuProxyGtk.cpp:
(WebKit::WebContextMenuProxyGtk::append):
(WebKit::WebContextMenuProxyGtk::WebContextMenuProxyGtk):
(WebKit::WebContextMenuProxyGtk::~WebContextMenuProxyGtk):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@207870 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.cpp