summaryrefslogtreecommitdiff
path: root/src/nautilus-file.h
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-01-04 22:50:42 +0200
committerErnestas Kulik <ernestask@gnome.org>2018-01-05 15:08:06 +0200
commitc7a608b1dc324d1d05e8cd7038b840d6da4e4b7d (patch)
tree2783b82e62670de8155d03ae62610af735a35825 /src/nautilus-file.h
parent2fff34b21ceb33c9f3811fce550221cd220b0702 (diff)
downloadnautilus-c7a608b1dc324d1d05e8cd7038b840d6da4e4b7d.tar.gz
file: general cleanups
Some vfuncs are no longer required now that the desktop is gone and the overrides that (used to) return constant values are removed.
Diffstat (limited to 'src/nautilus-file.h')
-rw-r--r--src/nautilus-file.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/nautilus-file.h b/src/nautilus-file.h
index c3e434c94..670009d05 100644
--- a/src/nautilus-file.h
+++ b/src/nautilus-file.h
@@ -121,11 +121,6 @@ typedef void (*NautilusFileOperationCallback) (NautilusFile *file,
GFile *result_location,
GError *error,
gpointer callback_data);
-typedef int (*NautilusWidthMeasureCallback) (const char *string,
- void *context);
-typedef char * (*NautilusTruncateCallback) (const char *string,
- int width,
- void *context);
#define NAUTILUS_FILE_ATTRIBUTES_FOR_ICON (NAUTILUS_FILE_ATTRIBUTE_INFO | NAUTILUS_FILE_ATTRIBUTE_LINK_INFO | NAUTILUS_FILE_ATTRIBUTE_THUMBNAIL)
@@ -213,7 +208,6 @@ gboolean nautilus_file_is_directory (Nautilu
gboolean nautilus_file_is_regular_file (NautilusFile *file);
gboolean nautilus_file_is_user_special_directory (NautilusFile *file,
GUserDirectory special_directory);
-gboolean nautilus_file_is_special_link (NautilusFile *file);
gboolean nautilus_file_is_archive (NautilusFile *file);
gboolean nautilus_file_is_in_search (NautilusFile *file);
gboolean nautilus_file_is_in_trash (NautilusFile *file);
@@ -619,27 +613,6 @@ typedef struct {
gpointer callback_data);
void (* poll_for_media) (NautilusFile *file);
-
- gboolean (* can_rename) (NautilusFile *file);
-
- void (* rename) (NautilusFile *file,
- const char *new_name,
- NautilusFileOperationCallback callback,
- gpointer callback_data);
-
- char* (* get_target_uri) (NautilusFile *file);
-
- gboolean (* drag_can_accept_files) (NautilusFile *drop_target_item);
-
- void (* invalidate_attributes_internal) (NautilusFile *file,
- NautilusFileAttributes file_attributes);
-
- gboolean (* opens_in_view) (NautilusFile *file);
-
- /* Use this if the custom file class doesn't support usual operations like
- * copy, delete or move.
- */
- gboolean (* is_special_link) (NautilusFile *file);
} NautilusFileClass;
#endif /* NAUTILUS_FILE_H */