summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-directory-async.c
diff options
context:
space:
mode:
authorChristian Neumair <cneumair@gnome.org>2008-03-23 11:47:13 +0000
committerChristian Neumair <cneumair@src.gnome.org>2008-03-23 11:47:13 +0000
commitb49a82f21db65c5bb719331d11a84653e1aaa947 (patch)
tree66c1675f03eb00f9c43b824a44aa0fdd0465f61e /libnautilus-private/nautilus-directory-async.c
parentda4c64e23b805ac420dc704d2ae722394e124a22 (diff)
downloadnautilus-b49a82f21db65c5bb719331d11a84653e1aaa947.tar.gz
Do not follow symlinks. (#504980).
2008-03-23 Christian Neumair <cneumair@gnome.org> * libnautilus-private/nautilus-directory-async.c (directory_count_start), (deep_count_load): Do not follow symlinks. (#504980). svn path=/trunk/; revision=13976
Diffstat (limited to 'libnautilus-private/nautilus-directory-async.c')
-rw-r--r--libnautilus-private/nautilus-directory-async.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnautilus-private/nautilus-directory-async.c b/libnautilus-private/nautilus-directory-async.c
index 419fdfb27..c1d0a0a20 100644
--- a/libnautilus-private/nautilus-directory-async.c
+++ b/libnautilus-private/nautilus-directory-async.c
@@ -2654,7 +2654,7 @@ directory_count_start (NautilusDirectory *directory,
G_FILE_ATTRIBUTE_STANDARD_NAME ","
G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN ","
G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP,
- 0, /* flags */
+ G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, /* flags */
G_PRIORITY_DEFAULT, /* prio */
state->cancellable,
count_children_callback,
@@ -2859,7 +2859,7 @@ deep_count_load (DeepCountState *state, GFile *location)
G_FILE_ATTRIBUTE_STANDARD_SIZE ","
G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN ","
G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP,
- 0, /* flags */
+ G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, /* flags */
G_PRIORITY_LOW, /* prio */
state->cancellable,
deep_count_callback,