[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [Patch] fix GTK FileDialog peer crashes
From: |
Michael Koch |
Subject: |
[cp-patches] [Patch] fix GTK FileDialog peer crashes |
Date: |
Fri, 11 Feb 2005 08:17:10 -0600 |
User-agent: |
Mutt/1.5.6+20040907i |
Hi list,
I merged the attached patch from GCC.
Michael
Tom's messgae was:
This patch fixes the GTK FileDialog peer crashes. gnome-vfs's
cancellation code is not thread-safe and we were calling it from
multiple threads. This caused gnome_vfs_is_primary_thread to fail,
triggering an assertion failure in gnome_vfs_cancellation_cancel. I've
reported the problem to the gnome-vfs maintainers and they're working on
a solution. In the mean time, I've fallen back to using GTK's built-in
file chooser backend which is independent from gnome-vfs. When the
cancellation functions are made thread-safe, we can start using the
gnome-vfs backend again. The GTK error messages seem to have been
caused by setting the "show_hidden" property -- by default, hidden files
should be hidden in the file selector anyway, so I've removed that line.
2005-02-11 Thomas Fitzsimmons <address@hidden>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
(handle_response): Use GTK_RESPONSE_ACCEPT.
filedialog.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] [Patch] fix GTK FileDialog peer crashes,
Michael Koch <=