Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2014-11-05 10:12:14 +0000
committerArun Thondapu2014-12-03 10:32:09 +0000
commit5edff071f39e0ef13a898469a46a667e4fce67ba (patch)
treed859ef780e60213f2cd2fc64f92554fce755f0ae
parent5372006a78ea0713b90451b30ec45f6d7d35f16a (diff)
downloadrt.equinox.framework-5edff071f39e0ef13a898469a46a667e4fce67ba.tar.gz
rt.equinox.framework-5edff071f39e0ef13a898469a46a667e4fce67ba.tar.xz
rt.equinox.framework-5edff071f39e0ef13a898469a46a667e4fce67ba.zip
Bug 450064 - [GTK3] Remove the the check for gtk 3.10 version
Change-Id: I5f6d7f2dcd069540e228def790c673bfc869493e Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c
index e766e63cc..92fcfaa8c 100644
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c
+++ b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2010 IBM Corporation and others.
+ * Copyright (c) 2007, 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -111,20 +111,6 @@ int loadGtk() {
if (gtk3 == NULL || strcmp(gtk3,"1") == 0) {
gdkLib = dlopen(GDK3_LIB, DLFLAGS);
gtkLib = dlopen(GTK3_LIB, DLFLAGS);
- if (gtk3 == NULL && gtkLib != NULL) {
- const char * (*func)(int, int, int);
- dlerror();
- *(void**) (&func) = dlsym(gtkLib, "gtk_check_version");
- if (dlerror() == NULL && func) {
- const char *check = (*func)(3, 9, 0);
- if (check == NULL) {
- dlclose(gdkLib);
- dlclose(gtkLib);
- gdkLib = gtkLib = NULL;
- setenv("SWT_GTK3","0",1);
- }
- }
- }
}
if (!gtkLib || !gdkLib) {
gdkLib = dlopen(GDK_LIB, DLFLAGS);

Back to the top