summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-file.c')
-rw-r--r--libcaja-private/caja-file.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/libcaja-private/caja-file.c b/libcaja-private/caja-file.c
index 811d811f..93a4d17c 100644
--- a/libcaja-private/caja-file.c
+++ b/libcaja-private/caja-file.c
@@ -4941,35 +4941,6 @@ caja_file_recompute_deep_counts (CajaFile *file)
}
}
-
-/**
- * caja_file_get_directory_item_mime_types
- *
- * Get the list of mime-types present in a directory.
- * @file: CajaFile representing a directory. It is an error to
- * call this function on a file that is not a directory.
- * @mime_list: Place to put the list of mime-types.
- *
- * Returns: TRUE if mime-type list is available.
- *
- **/
-gboolean
-caja_file_get_directory_item_mime_types (CajaFile *file,
- GList **mime_list)
-{
- g_return_val_if_fail (CAJA_IS_FILE (file), FALSE);
- g_return_val_if_fail (mime_list != NULL, FALSE);
-
- if (!caja_file_is_directory (file)
- || !file->details->got_mime_list) {
- *mime_list = NULL;
- return FALSE;
- }
-
- *mime_list = eel_g_str_list_copy (file->details->mime_list);
- return TRUE;
-}
-
gboolean
caja_file_can_get_size (CajaFile *file)
{