localfileenumerator: Take the type from the readdir() call
authorBenjamin Otte <otte@redhat.com>
Tue, 1 Nov 2011 22:21:42 +0000 (23:21 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 16 Nov 2011 16:22:03 +0000 (17:22 +0100)
commit8863071b9d17fa37036549b8c6579736d259a9cd
treec2b77f5b0b0b04362f08f66660b8fd38b485dcf9
parent6fe9791f2401c7842ed8e4b72e62296f1da1e47d
localfileenumerator: Take the type from the readdir() call

That way, we can avoid stat() calls for all enumerated files in various
cases. In particular in the autocompletion code in the GTK filechooser.
configure.ac
gio/glocalfileenumerator.c