diff options
author | Billy Biggs <bbiggs> | 2005-10-26 15:45:09 +0000 |
---|---|---|
committer | Billy Biggs <bbiggs> | 2005-10-26 15:45:09 +0000 |
commit | c08ca1607ea5fb1a49a48b6e4eea32399ef1a349 (patch) | |
tree | f751d4cfd83e001a77c9ef15940f212b69d4c89e | |
parent | 77599823c580f65d5620f46972f3e9e010633e11 (diff) | |
download | eclipse.platform.swt-c08ca1607ea5fb1a49a48b6e4eea32399ef1a349.tar.gz eclipse.platform.swt-c08ca1607ea5fb1a49a48b6e4eea32399ef1a349.tar.xz eclipse.platform.swt-c08ca1607ea5fb1a49a48b6e4eea32399ef1a349.zip |
Avoid g_thread_init for now, as it makes many glib calls slower.
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java index 0b32f9f95c..c14a5bae10 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java @@ -759,9 +759,10 @@ protected void create (DeviceData data) { } synchronized void createDisplay (DeviceData data) { + /* This code is intentionally commented. if (!OS.g_thread_supported ()) { OS.g_thread_init (0); - } + }*/ OS.gtk_set_locale(); if (!OS.gtk_init_check (new int /*long*/ [] {0}, null)) { SWT.error (SWT.ERROR_NO_HANDLES, null, " [gtk_init_check() failed]"); |