| 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.
|
|
|