https://bugs.webkit.org/show_bug.cgi?id=120070
Patch by Anton Obzhirov <a.obzhirov@samsung.com> on 2013-09-03
Reviewed by Mario Sanchez Prada.
Removed deprecated functions gdk_threads_leave()/gdk_threads_enter() functions since
there is no more checks for threads lock in GTK 3.6.
* UIProcess/API/gtk/WebKitWebView.cpp:
(webkitWebViewRunAsModal):
* UIProcess/gtk/WebPopupMenuProxyGtk.cpp:
(WebKit::WebPopupMenuProxyGtk::showPopupMenu):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154989
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2013-09-03 Anton Obzhirov <a.obzhirov@samsung.com>
+
+ [GTK] gdk threads deprecated functions calls should be refactored
+ https://bugs.webkit.org/show_bug.cgi?id=120070
+
+ Reviewed by Mario Sanchez Prada.
+
+ Removed deprecated functions gdk_threads_leave()/gdk_threads_enter() functions since
+ there is no more checks for threads lock in GTK 3.6.
+
+ * UIProcess/API/gtk/WebKitWebView.cpp:
+ (webkitWebViewRunAsModal):
+ * UIProcess/gtk/WebPopupMenuProxyGtk.cpp:
+ (WebKit::WebPopupMenuProxyGtk::showPopupMenu):
+
2013-09-03 Brian Holt <brian.holt@samsung.com>
[GTK] [WK2] TestContextMenu default-menu fails
g_signal_emit(webView, signals[RUN_AS_MODAL], 0, NULL);
webView->priv->modalLoop = adoptGRef(g_main_loop_new(0, FALSE));
- gdk_threads_leave();
g_main_loop_run(webView->priv->modalLoop.get());
- gdk_threads_enter();
}
void webkitWebViewClosePage(WebKitWebView* webView)
// menu right after calling WebPopupMenuProxy::showPopupMenu().
m_runLoop = adoptGRef(g_main_loop_new(0, FALSE));
- gdk_threads_leave();
g_main_loop_run(m_runLoop.get());
- gdk_threads_enter();
m_runLoop.clear();