Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Thondapu2014-04-27 14:25:05 -0400
committerArun Thondapu2014-04-27 14:32:14 -0400
commitd21b42e0a1e76dc155cef0d7031856a819171ed5 (patch)
treed0d8d839ac1b052ef23eaff33628f3f769d4951d
parent69cab01178f4a2eb69deea3982c7a4e44b7915cc (diff)
downloadrt.equinox.framework-d21b42e0a1e76dc155cef0d7031856a819171ed5.tar.gz
rt.equinox.framework-d21b42e0a1e76dc155cef0d7031856a819171ed5.tar.xz
rt.equinox.framework-d21b42e0a1e76dc155cef0d7031856a819171ed5.zip
Bug 432490 - Provide a way to start with GTK 3 newer than 3.9
Change-Id: Ia8cd23a311255bbbca874afe9297faf166a93065 Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c2
1 files changed, 1 insertions, 1 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 0dfd52e21..e766e63cc 100644
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c
+++ b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c
@@ -111,7 +111,7 @@ int loadGtk() {
if (gtk3 == NULL || strcmp(gtk3,"1") == 0) {
gdkLib = dlopen(GDK3_LIB, DLFLAGS);
gtkLib = dlopen(GTK3_LIB, DLFLAGS);
- if (gtkLib != NULL) {
+ if (gtk3 == NULL && gtkLib != NULL) {
const char * (*func)(int, int, int);
dlerror();
*(void**) (&func) = dlsym(gtkLib, "gtk_check_version");

Back to the top