Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2016-10-12 13:48:56 +0000
committerSravan Kumar Lakkimsetti2016-10-13 10:00:37 +0000
commit7259e7994a1de3254e321b735a3f375c5d961d09 (patch)
treef55c3bdc8e8aa0b887090238572e12acb9d415e3 /features/org.eclipse.equinox.executable.feature/library/gtk
parent5ba8e1c6aa4d907d403177a880780b74863fe6b3 (diff)
downloadrt.equinox.framework-7259e7994a1de3254e321b735a3f375c5d961d09.tar.gz
rt.equinox.framework-7259e7994a1de3254e321b735a3f375c5d961d09.tar.xz
rt.equinox.framework-7259e7994a1de3254e321b735a3f375c5d961d09.zip
Bug 472042 - Regression: eclipse -noSplash prints errors if no DISPLAYY20161020-1000
is set on Linux Change-Id: I64cbc93b33a03d531f76f809a85a2ce7c6fe792b Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'features/org.eclipse.equinox.executable.feature/library/gtk')
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c
index 06bed2a9d..4e7a075de 100644
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c
+++ b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c
@@ -17,7 +17,6 @@
#include <locale.h>
#include <dlfcn.h>
#include <stdio.h>
-#include <string.h>
#define ECLIPSE_ICON 401
@@ -49,14 +48,10 @@ void displayMessage(char* title, char* message)
/* If GTK has not been initialized yet, do it now. */
if (initWindowSystem( &saveArgc, saveArgv, 1 ) != 0) {
- printf("%s:\n%s\n", title, message);
+ printf("%s:\n%s\n", title, message);
return;
}
- if (strcmp( message, _T_ECLIPSE("GTK+ Version Check")) == 0) {
- return;
- }
-
dialog = gtk.gtk_message_dialog_new(NULL, GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
"%s", message);

Back to the top