Minor optimization of [Special dirs] handling.
commit1c3aae85ecbb220632cefc655cb35d2b2f4a22fd
authorAndrew Borodin <aborodin@vmail.ru>
Thu, 16 Sep 2010 06:29:27 +0000 (16 10:29 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Tue, 19 Oct 2010 14:15:37 +0000 (19 18:15 +0400)
tree32753f6de4e15508a70f59bfac977366bc733026
parentfed3d099c36a0a49bf01c8e70a264e8f35b80224
Minor optimization of [Special dirs] handling.

(tree_store_rescan): use g_list_foreach() to free content of list.
(process_special_dirs): get rid of extra memory allocation.
(should_skip_directory): type accuracy and variable intializations.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/treestore.c