diff options
| author | Tomas Bzatek <tbzatek@tbzatek.englab.brq.redhat.com> | 2008-09-02 16:43:45 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@tbzatek.englab.brq.redhat.com> | 2008-09-02 16:43:45 +0200 |
| commit | 14c2d4bbee1f217402af5b7830562d899e234216 (patch) | |
| tree | 8832ffad29d7e00aecee9b5d9c7dac4d5388f8f5 /libgtk_kylix | |
| parent | f356f87a7e1d50ca80dbd7f151b5a98ecdfd2d24 (diff) | |
| download | tuxcmd-14c2d4bbee1f217402af5b7830562d899e234216.tar.xz | |
Do not initialize gdk threads which cause deadlocks
Diffstat (limited to 'libgtk_kylix')
| -rw-r--r-- | libgtk_kylix/GTKForms.pas | 4 |
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); |
