diff options
author | Sravan Kumar Lakkimsetti | 2014-11-05 10:12:14 +0000 |
---|---|---|
committer | Arun Thondapu | 2014-12-03 10:32:09 +0000 |
commit | 5edff071f39e0ef13a898469a46a667e4fce67ba (patch) | |
tree | d859ef780e60213f2cd2fc64f92554fce755f0ae /features | |
parent | 5372006a78ea0713b90451b30ec45f6d7d35f16a (diff) | |
download | rt.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>
Diffstat (limited to 'features')
-rw-r--r-- | features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c | 16 |
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); |