Commit 47bf5ad6 authored by Darin Adler's avatar Darin Adler
Browse files

Fixed an assert I missed.

	* libnautilus/nautilus-directory.c:
	(nautilus_file_get_name):
	Fixed an assert I missed.
parent c796ee4c
2000-01-26 Darin Adler <darin@eazel.com>
* libnautilus/nautilus-directory.c:
(nautilus_file_get_name):
Fixed an assert I missed.
2000-01-26 Darin Adler <darin@eazel.com>
* libnautilus/nautilus-directory.h:
libnautilus/nautilus-directory.c:
(nautilus_file_get):
(nautilus_file_detach):
(nautilus_directory_finalize):
......
......@@ -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');
......
......@@ -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');
......
......@@ -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');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment