summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-04-12 12:34:08 (EDT)
committer Carolyn MacLeod2013-04-09 10:49:27 (EDT)
commit3546992036b75783a33424309265fc6235602098 (patch)
tree9023eb53b6b7ee03e822431509d1150872c2f973
parentf3287230db963847b363be973b619da6a940f285 (diff)
downloadeclipse.platform.swt-3546992036b75783a33424309265fc6235602098.zip
eclipse.platform.swt-3546992036b75783a33424309265fc6235602098.tar.gz
eclipse.platform.swt-3546992036b75783a33424309265fc6235602098.tar.bz2
Do not check for gnome_vfs_url_show.
The method gnome_init already calls gnome_vfs_init which is good enough guarantee for having gnome-vfs installed. Modern Gnome desktops would not be found by this because they don't ship gnome-vfs always but the previous GIO check should have handled it already.
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java b/bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java
index 5c17a44..fe391fc 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java
@@ -137,17 +137,6 @@ static int getDesktop(final Display display) {
if (gnomeIconTheme.value != 0) OS.g_object_unref(gnomeIconTheme.value);
}
});
- /* Check for libgnomevfs-2 version 2.4 */
- buffer = Converter.wcsToMbcs(null, "libgnomevfs-2.so.0", true);
- long /*int*/ libgnomevfs = OS.dlopen(buffer, OS.RTLD_LAZY);
- if (libgnomevfs != 0) {
- buffer = Converter.wcsToMbcs(null, "gnome_vfs_url_show", true);
- long /*int*/ gnome_vfs_url_show = OS.dlsym(libgnomevfs, buffer);
- if (gnome_vfs_url_show != 0) {
- desktop = DESKTOP_GNOME;
- }
- OS.dlclose(libgnomevfs);
- }
}
}
}