Bug 677712 - Make Qt port support No X11 build; r=dougt,joe

This commit is contained in:
Oleg Romashin
2011-08-24 17:15:58 +01:00
parent fb336c857f
commit 28d302bc60
19 changed files with 120 additions and 98 deletions

View File

@@ -2010,7 +2010,7 @@ _getvalue(NPP npp, NPNVariable variable, void *result)
switch(variable) {
#if defined(XP_UNIX) && !defined(XP_MACOSX)
case NPNVxDisplay : {
#if defined(MOZ_WIDGET_GTK2) || defined(MOZ_WIDGET_QT)
#if defined(MOZ_X11)
if (npp) {
nsNPAPIPluginInstance *inst = (nsNPAPIPluginInstance *) npp->ndata;
PRBool windowless = PR_FALSE;