diff options
author | Maciej Stachowiak <mstachow@src.gnome.org> | 2000-10-16 05:37:12 +0000 |
---|---|---|
committer | Maciej Stachowiak <mstachow@src.gnome.org> | 2000-10-16 05:37:12 +0000 |
commit | 5b964082cf1c08998954961c2d11e4d2465a2533 (patch) | |
tree | ba6ab2599a78b65e78dcc8665e08f5c8264ca7c0 /libnautilus-extensions/nautilus-file.c | |
parent | 2416125b460eeaad6054383a731095bd6c0c93ff (diff) | |
download | nautilus-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.c | 13 |
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; } /** |