Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.equinox.launcher/library/eclipseJNI.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/library/eclipseJNI.c b/bundles/org.eclipse.equinox.launcher/library/eclipseJNI.c
index 89230f58b..124af16ad 100644
--- a/bundles/org.eclipse.equinox.launcher/library/eclipseJNI.c
+++ b/bundles/org.eclipse.equinox.launcher/library/eclipseJNI.c
@@ -95,9 +95,14 @@ static void registerNatives(JNIEnv *env) {
static void splash(JNIEnv *env, jstring s) {
const _TCHAR* data;
- data = JNI_GetStringChars(env, s);
- showSplash(data);
- JNI_ReleaseStringChars(env, s, data);
+ /* Don't show the splash if there is already one up.
+ * TODO Do we want to support changing the image here?
+ */
+ if(getSplashHandle() == 0) {
+ data = JNI_GetStringChars(env, s);
+ showSplash(data);
+ JNI_ReleaseStringChars(env, s, data);
+ }
}
static void setExitData(JNIEnv *env, jstring s){

Back to the top