Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java
index 02bb415032..0cf2c914c8 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java
@@ -12,9 +12,8 @@ package org.eclipse.swt.browser;
import java.io.*;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.browser.Browser;
-import org.eclipse.swt.graphics.Point;
+import org.eclipse.swt.*;
+import org.eclipse.swt.graphics.*;
import org.eclipse.swt.internal.*;
import org.eclipse.swt.internal.gtk.*;
import org.eclipse.swt.internal.mozilla.*;
@@ -31,7 +30,6 @@ class MozillaDelegate {
static Boolean IsXULRunner24;
static final int STOP_PROPOGATE = 1;
static final String LIB_FIX_XULRUNNER10 = "libswt-xulrunner-fix10.so"; //$NON-NLS-1$
- static final String LIB_FIX_XULRUNNER24 = "libswt-xulrunner-fix24.so"; //$NON-NLS-1$
static final String LIB_FIX_XULRUNNER31 = "libswt-xulrunner-fix31.so"; //$NON-NLS-1$
static final String LIB_XPCOM = "libxpcom.so"; //$NON-NLS-1$
@@ -140,7 +138,7 @@ static String getSWTInitLibraryName () {
static void loadAdditionalLibraries (String mozillaPath, boolean isGlued) {
/*
* This function is invoked twice, once before gluing (the fix library for
- * XULRunner 24, if appropriate, must be loaded before attempting to glue),
+ * XULRunner 24/XULRunner 31, if appropriate, must be loaded before attempting to glue),
* and once after gluing (to load the XULRunner 10 fix library, if appropriate).
*/
String libName = null;
@@ -153,6 +151,10 @@ static void loadAdditionalLibraries (String mozillaPath, boolean isGlued) {
* Works around https://bugzilla.mozilla.org/show_bug.cgi?id=720682
* and https://bugzilla.mozilla.org/show_bug.cgi?id=763327.
*/
+ /*
+ * LIB_FIX_XULRUNNER31 is built against XULRunner 31 SDK and it is used as the fix library
+ * for both XULRunner 24 and XULRunner 31.
+ */
libName = LIB_FIX_XULRUNNER31;
}
} else {

Back to the top