Mercurial > pidgin.yaz
comparison finch/libgnt/gntfilesel.c @ 20911:34420be6e537
Close a dir after reading from it. Thanks, datallah.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 15 Oct 2007 18:52:51 +0000 |
parents | 44b4e8bd759b |
children | e119edfc0fb0 |
comparison
equal
deleted
inserted
replaced
20910:54d232b52607 | 20911:34420be6e537 |
---|---|
263 } | 263 } |
264 *files = g_list_prepend(*files, file); | 264 *files = g_list_prepend(*files, file); |
265 } | 265 } |
266 g_free(fp); | 266 g_free(fp); |
267 } | 267 } |
268 g_dir_close(dir); | |
268 | 269 |
269 *files = g_list_reverse(*files); | 270 *files = g_list_reverse(*files); |
270 return TRUE; | 271 return TRUE; |
271 } | 272 } |
272 | 273 |