GNOME Bugzilla – Bug 440213
Replace GtkSearchEngineSimple with a non-threaded implementation
Last modified: 2012-03-27 23:49:14 UTC
currently, GtkSearchEngineSimple uses threads to call nftw() without blocking. this makes the search functionality of the file chooser not work if the application didn't call g_thread_init() first. in bug #157076 there's a proposal for a ftw()-like API in GLib. if such API would be made available to GTK+, GtkSearchEngineSimple should be switched from nftw(). as an alternative, either GLib or GTK+ should have a GSource to walk a file tree without blocking the UI and without using threads.
given that g_thread_init() has been deprecated, we may just close this bug. alternatively, we could repurpose it for an implementation fo GtkSearchEngineSimple that uses GFileEnumerator instead.
Lets open a new bug for that, if we still want it