Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-04-12 16:34:08 +0000
committerAlexander Kurtakov2013-01-23 14:41:17 +0000
commit2eb61f092499f685c2da411e9abd5e905eda178d (patch)
tree451997796a0b2406308a31c75bf00a51c08b7841 /bundles/org.eclipse.swt/Eclipse SWT Program
parent536c3da52232fae1ad7c185cacf00d379a26968c (diff)
downloadeclipse.platform.swt-2eb61f092499f685c2da411e9abd5e905eda178d.tar.gz
eclipse.platform.swt-2eb61f092499f685c2da411e9abd5e905eda178d.tar.xz
eclipse.platform.swt-2eb61f092499f685c2da411e9abd5e905eda178d.zip
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.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Program')
-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 5c17a4421c..fe391fc2d8 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);
- }
}
}
}

Back to the top