summaryrefslogtreecommitdiff
path: root/libgtk_kylix/GTKForms.pas
diff options
context:
space:
mode:
Diffstat (limited to 'libgtk_kylix/GTKForms.pas')
-rw-r--r--libgtk_kylix/GTKForms.pas4
1 files changed, 3 insertions, 1 deletions
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);