Bug 914607 - Remove MOZ_WIDGET_GTK2. r=karlt
This commit is contained in:
@@ -557,7 +557,7 @@ nsresult nsNPAPIPluginInstance::SetWindow(NPWindow* window)
|
||||
if (!window || RUNNING != mRunning)
|
||||
return NS_OK;
|
||||
|
||||
#if defined(MOZ_WIDGET_GTK2)
|
||||
#if (MOZ_WIDGET_GTK == 2)
|
||||
// bug 108347, flash plugin on linux doesn't like window->width <=
|
||||
// 0, but Java needs wants this call.
|
||||
if (!nsPluginHost::IsJavaMIMEType(mMIMEType) && window->type == NPWindowTypeWindow &&
|
||||
|
||||
Reference in New Issue
Block a user