diff options
author | Darin Adler <darin@src.gnome.org> | 2000-03-30 20:12:34 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2000-03-30 20:12:34 +0000 |
commit | 4c8d9b0be934740a145067c5d2c2ca1d80f33bfa (patch) | |
tree | cb1c30689fd7fadc759f77f990c5c66eea1ac6c9 /libnautilus-private/nautilus-file-private.h | |
parent | f95b953215c3ec5c56f7d4fdbd3b46a40ce5694c (diff) | |
download | nautilus-4c8d9b0be934740a145067c5d2c2ca1d80f33bfa.tar.gz |
Added convenience functions so people don't have to be constantly reminded
* libnautilus/nautilus-directory.c:
* libnautilus/nautilus-directory.h:
(nautilus_directory_ref), (nautilus_directory_unref):
Added convenience functions so people don't have to be constantly
reminded that a NautilusDirectory is a a GtkObject.
* libnautilus/nautilus-directory.c: (nautilus_directory_destroy):
Fixed a problem where the pending files callback might fire after
the NautilusDirectory is gone.
* libnautilus/nautilus-directory.c:
(nautilus_directory_destroy),
(nautilus_directory_monitor_files_ref),
(nautilus_directory_monitor_files_unref),
(dequeue_pending_idle_callback), (nautilus_directory_new_file):
* libnautilus/nautilus-file-private.h:
* libnautilus/nautilus-file.c:
(nautilus_file_get), (nautilus_file_ref), (nautilus_file_unref),
(nautilus_file_free), (nautilus_file_delete):
To prepare for changing NautilusFile to a GtkObject, made it use
ref counts in a way that is standard. Now the directory keeps a
list of the files, but only keeps a ref to the files if it is
monitoring them.
* src/file-manager/fm-directory-view.c: Tiny formatting tweak.
Diffstat (limited to 'libnautilus-private/nautilus-file-private.h')
-rw-r--r-- | libnautilus-private/nautilus-file-private.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libnautilus-private/nautilus-file-private.h b/libnautilus-private/nautilus-file-private.h index 7ee311c9b..816294a3d 100644 --- a/libnautilus-private/nautilus-file-private.h +++ b/libnautilus-private/nautilus-file-private.h @@ -33,5 +33,3 @@ struct NautilusFile GnomeVFSFileInfo *info; gboolean is_gone; }; - -void nautilus_file_free (NautilusFile *); |