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

@@ -1922,7 +1922,7 @@ _getvalue(NPP npp, NPNVariable variable, void *result)
return NPERR_NO_ERROR;
}
}
#ifdef MOZ_WIDGET_GTK2
#if (MOZ_WIDGET_GTK == 2)
// adobe nppdf calls XtGetApplicationNameAndClass(display,
// &instance, &class) we have to init Xt toolkit before get
// XtDisplay just call gtk_xtbin_new(w,0) once
@@ -1943,7 +1943,7 @@ _getvalue(NPP npp, NPNVariable variable, void *result)
return NPERR_GENERIC_ERROR;
#endif
#if defined(XP_WIN) || defined(XP_OS2) || defined(MOZ_WIDGET_GTK2) \
#if defined(XP_WIN) || defined(XP_OS2) || (MOZ_WIDGET_GTK == 2) \
|| defined(MOZ_WIDGET_QT)
case NPNVnetscapeWindow: {
if (!npp || !npp->ndata)