diff options
author | Bogdan Gheorghe <gheorghe> | 2008-08-18 18:22:32 +0000 |
---|---|---|
committer | Bogdan Gheorghe <gheorghe> | 2008-08-18 18:22:32 +0000 |
commit | 0ce9fdae119b048478550faed955fdfab2c3c9b0 (patch) | |
tree | 1ef22e4529982abf885a8f8e3a3f5ce6bc76857b | |
parent | 0e7b89d527aa1478fe1075a69b89acba8e55ee2d (diff) | |
download | eclipse.platform.swt-0ce9fdae119b048478550faed955fdfab2c3c9b0.tar.gz eclipse.platform.swt-0ce9fdae119b048478550faed955fdfab2c3c9b0.tar.xz eclipse.platform.swt-0ce9fdae119b048478550faed955fdfab2c3c9b0.zip |
243842 Solaris crash: symbol gnome_icon_theme_new: referenced symbol not found
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java | 2 |
1 files changed, 1 insertions, 1 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 1ddc26cbf4..57456d5c67 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 @@ -94,7 +94,7 @@ static int getDesktop(final Display display) { if (desktop == DESKTOP_UNKNOWN) { byte[] gnomeName = Converter.wcsToMbcs(null, "_NET_SUPPORTING_WM_CHECK", true); int /*long*/ gnome = OS.XInternAtom(xDisplay, gnomeName, true); - if (gnome != OS.None && gnome_init()) { + if (gnome != OS.None && (OS.GTK_VERSION >= OS.VERSION (2, 2, 0)) && gnome_init()) { desktop = DESKTOP_GNOME; int /*long*/ icon_theme = GNOME.gnome_icon_theme_new(); display.setData(ICON_THEME_DATA, new LONG(icon_theme)); |