summaryrefslogtreecommitdiff
path: root/libnautilus
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-01-26 00:56:25 +0000
committerDarin Adler <darin@src.gnome.org>2000-01-26 00:56:25 +0000
commit47bf5ad695c4de99706105854796e090585d8b80 (patch)
treedb4d752f5ae8aca66618fe41ab3fac0356d8c123 /libnautilus
parentc796ee4c97b37a2ad12a79a5d3805a4ef0b69ecf (diff)
downloadnautilus-47bf5ad695c4de99706105854796e090585d8b80.tar.gz
Fixed an assert I missed.
* libnautilus/nautilus-directory.c: (nautilus_file_get_name): Fixed an assert I missed.
Diffstat (limited to 'libnautilus')
-rw-r--r--libnautilus/nautilus-directory.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libnautilus/nautilus-directory.c b/libnautilus/nautilus-directory.c
index 4306bf6ee..d52eab361 100644
--- a/libnautilus/nautilus-directory.c
+++ b/libnautilus/nautilus-directory.c
@@ -868,7 +868,6 @@ nautilus_file_get_name (NautilusFile *file)
{
g_return_val_if_fail (file != NULL, NULL);
- g_assert (file->ref_count != 0);
g_assert (file->directory == NULL || NAUTILUS_IS_DIRECTORY (file->directory));
g_assert (file->info->name != NULL);
g_assert (file->info->name[0] != '\0');