Bug 914607 - Remove MOZ_WIDGET_GTK2. r=karlt

This commit is contained in:
Martin Stransky
2013-09-23 09:21:35 -04:00
parent 3c6c7b19d0
commit 9dde4832c0
19 changed files with 63 additions and 63 deletions

View File

@@ -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 &&