From 14c2d4bbee1f217402af5b7830562d899e234216 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 2 Sep 2008 16:43:45 +0200 Subject: Do not initialize gdk threads which cause deadlocks --- libgtk_kylix/GTKForms.pas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libgtk_kylix/GTKForms.pas b/libgtk_kylix/GTKForms.pas index db6b445..ba0e8b4 100644 --- a/libgtk_kylix/GTKForms.pas +++ b/libgtk_kylix/GTKForms.pas @@ -566,7 +566,9 @@ begin // Init threads my_g_thread_init(nil); - gdk_threads_init; + + (* ATTENTION: do not call gdk_threads_init(), it causes deadlocks and we don't really need it *) +// gdk_threads_init; // Initialize the widget set gtk_init(@argc, @argv); -- cgit v1.2.3