summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-directory.c
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-08-29 23:30:35 +0000
committerDarin Adler <darin@src.gnome.org>2000-08-29 23:30:35 +0000
commitc843421261eb8f7407e46e8a3cee9a447246bcad (patch)
tree3af88a0016ba89b7ef177fbedc1cd3cb0ad07e72 /libnautilus-extensions/nautilus-directory.c
parentdbbbbe3d4988b05bd9edd20b8e1136d44c780e5b (diff)
downloadnautilus-c843421261eb8f7407e46e8a3cee9a447246bcad.tar.gz
Fixed bug that showed up as warnings on exit and fails of "make check".
* libnautilus-extensions/nautilus-directory-async.c: (call_ready_callbacks), (start_or_stop_io), (nautilus_directory_async_state_changed): Fixed bug that showed up as warnings on exit and fails of "make check". The code needs to check for I/O that must be stopped after calling "call_when_ready" callbacks. I improved the structure here a bit too by making a new function. * libnautilus-extensions/nautilus-directory.c: (nautilus_self_check_directory): Fixed a mistake in the self-check that made it check the wrong thing. * libnautilus-extensions/nautilus-link-set.c: (link_set_path_name): Use nautilus_make_path instead of the hard-coded equivalent. * libnautilus-extensions/nautilus-gtk-extensions.h: Reformatted. * src/nautilus-property-browser.c: (remove_emblem): Formatting tweak.
Diffstat (limited to 'libnautilus-extensions/nautilus-directory.c')
-rw-r--r--libnautilus-extensions/nautilus-directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-extensions/nautilus-directory.c b/libnautilus-extensions/nautilus-directory.c
index 11d9333d2..31746724e 100644
--- a/libnautilus-extensions/nautilus-directory.c
+++ b/libnautilus-extensions/nautilus-directory.c
@@ -1034,7 +1034,7 @@ nautilus_self_check_directory (void)
got_files_flag = FALSE;
attributes = g_list_prepend (NULL, NAUTILUS_FILE_ATTRIBUTE_FAST_MIME_TYPE);
- attributes = g_list_prepend (NULL, NAUTILUS_FILE_ATTRIBUTE_DEEP_COUNTS);
+ attributes = g_list_prepend (attributes, NAUTILUS_FILE_ATTRIBUTE_DEEP_COUNTS);
nautilus_directory_call_when_ready (directory, attributes, FALSE,
got_files_callback, &data_dummy);
g_list_free (attributes);