Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Unified Diff: content/plugin/plugin_thread.cc

Issue 9773024: This patch implements Chromium's Aura gesture recognizer in terms of utouch-grail and utouch-frame … (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/web_input_event_aurax11.cc ('k') | content/utility/utility_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_thread.cc
===================================================================
--- content/plugin/plugin_thread.cc (revision 126124)
+++ content/plugin/plugin_thread.cc (working copy)
@@ -80,10 +80,12 @@
// TODO(saintlou):
#elif defined(TOOLKIT_USES_GTK)
{
+ // g_thread_init is deprecated since gtk version 2.32
+#if GTK_VERSION_MAJOR == 2 && GTK_VERSION_MINOR < 32
// XEmbed plugins assume they are hosted in a Gtk application, so we need
// to initialize Gtk in the plugin process.
g_thread_init(NULL);
-
+#endif
// Flash has problems receiving clicks with newer GTKs due to the
// client-side windows change. To be safe, we just always set the
// backwards-compat environment variable.
« no previous file with comments | « content/browser/renderer_host/web_input_event_aurax11.cc ('k') | content/utility/utility_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698