Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2006-12-08 14:27:36 -0500
committerGrant Gayed2006-12-08 14:27:36 -0500
commit57341f2dea195c2eb2a096793a3288a5f1cf0b0f (patch)
tree6f97975167812f66796997383626e94d0a1b438e
parent57b48f52ef42832287d536379415e2a4199d735d (diff)
downloadeclipse.platform.swt-57341f2dea195c2eb2a096793a3288a5f1cf0b0f.tar.gz
eclipse.platform.swt-57341f2dea195c2eb2a096793a3288a5f1cf0b0f.tar.xz
eclipse.platform.swt-57341f2dea195c2eb2a096793a3288a5f1cf0b0f.zip
*** empty log message ***
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/Browser.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/Browser.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/Browser.java
index a8fe145542..8332603da9 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/Browser.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/Browser.java
@@ -93,8 +93,6 @@ public class Browser extends Composite {
static final String PROFILE_AFTER_CHANGE = "profile-after-change"; //$NON-NLS-1$
static final String PROFILE_BEFORE_CHANGE = "profile-before-change"; //$NON-NLS-1$
static final String PROFILE_DO_CHANGE = "profile-do-change"; //$NON-NLS-1$
- static final String PROFILE_CHANGE_NET_TEARDOWN = "profile-change-net-teardown"; //$NON-NLS-1$
- static final String PROFILE_CHANGE_TEARDOWN = "profile-change-teardown"; //$NON-NLS-1$
static final String SHUTDOWN_PERSIST = "shutdown-persist"; //$NON-NLS-1$
static final String STARTUP = "startup"; //$NON-NLS-1$
@@ -352,20 +350,12 @@ public Browser(Composite parent, int style) {
nsIObserverService observerService = new nsIObserverService(result[0]);
result[0] = 0;
- buffer = Converter.wcsToMbcs(null, PROFILE_CHANGE_NET_TEARDOWN, true);
+ buffer = Converter.wcsToMbcs(null, PROFILE_BEFORE_CHANGE, true);
int length = SHUTDOWN_PERSIST.length();
char[] chars = new char [length + 1];
SHUTDOWN_PERSIST.getChars(0, length, chars, 0);
rc = observerService.NotifyObservers(0, buffer, chars);
if (rc != XPCOM.NS_OK) error(rc);
-
- buffer = Converter.wcsToMbcs(null, PROFILE_CHANGE_TEARDOWN, true);
- rc = observerService.NotifyObservers(0, buffer, chars);
- if (rc != XPCOM.NS_OK) error(rc);
-
- buffer = Converter.wcsToMbcs(null, PROFILE_BEFORE_CHANGE, true);
- rc = observerService.NotifyObservers(0, buffer, chars);
- if (rc != XPCOM.NS_OK) error(rc);
observerService.Release();
}
});

Back to the top