summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-file.c
diff options
context:
space:
mode:
authorMaciej Stachowiak <mstachow@src.gnome.org>2000-10-16 05:37:12 +0000
committerMaciej Stachowiak <mstachow@src.gnome.org>2000-10-16 05:37:12 +0000
commit5b964082cf1c08998954961c2d11e4d2465a2533 (patch)
treeba6ab2599a78b65e78dcc8665e08f5c8264ca7c0 /libnautilus-extensions/nautilus-file.c
parent2416125b460eeaad6054383a731095bd6c0c93ff (diff)
downloadnautilus-5b964082cf1c08998954961c2d11e4d2465a2533.tar.gz
Renamed and changed interface.
* libnautilus-extensions/nautilus-file.h, libnautilus-extensions/nautilus-file.c (nautilus_file_get_file_info_result): Renamed and changed interface. * src/nautilus-applicable-views.c (got_file_info_callback, nautilus_navigation_info_new, nautilus_navigation_info_cancel, nautilus_navigation_info_free): Reorganize to use the new NautilusFile features.
Diffstat (limited to 'libnautilus-extensions/nautilus-file.c')
-rw-r--r--libnautilus-extensions/nautilus-file.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/libnautilus-extensions/nautilus-file.c b/libnautilus-extensions/nautilus-file.c
index bf15ada0f..64f64c802 100644
--- a/libnautilus-extensions/nautilus-file.c
+++ b/libnautilus-extensions/nautilus-file.c
@@ -3721,19 +3721,14 @@ nautilus_file_is_in_trash (NautilusFile *file)
return result;
}
-gboolean
-nautilus_file_get_info_failed (NautilusFile *file,
- GnomeVFSResult *result)
+GnomeVFSResult
+nautilus_file_get_file_info_result (NautilusFile *file)
{
- g_return_val_if_fail (NAUTILUS_IS_FILE (file), FALSE);
-
if (!file->details->get_info_failed) {
- *result = GNOME_VFS_OK;
- return FALSE;
+ return GNOME_VFS_OK;
}
- *result = file->details->get_info_error;
- return TRUE;
+ return file->details->get_info_error;
}
/**