summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-mime-actions.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-08-21 03:29:50 +0300
committermonsta <[email protected]>2016-08-22 16:40:21 +0300
commit3c6122df79f4d6e86d7afa0e6c4b64403de7bc44 (patch)
treebd06579cadb62b290fb983f61a02e4dedb3f64b1 /libcaja-private/caja-mime-actions.c
parent6f295db45ebcb52c6e9ad39f8d639e35f88c5ef5 (diff)
downloadcaja-3c6122df79f4d6e86d7afa0e6c4b64403de7bc44.tar.bz2
caja-3c6122df79f4d6e86d7afa0e6c4b64403de7bc44.tar.xz
drop a large amount of completely unused code
Diffstat (limited to 'libcaja-private/caja-mime-actions.c')
-rw-r--r--libcaja-private/caja-mime-actions.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/libcaja-private/caja-mime-actions.c b/libcaja-private/caja-mime-actions.c
index 2a303f72..46e3bdc3 100644
--- a/libcaja-private/caja-mime-actions.c
+++ b/libcaja-private/caja-mime-actions.c
@@ -676,43 +676,6 @@ caja_mime_get_applications_for_files (GList *files)
return ret;
}
-gboolean
-caja_mime_has_any_applications_for_files (GList *files)
-{
- GList *l, *sorted_files;
- CajaFile *file;
- gboolean ret;
-
- g_assert (files != NULL);
-
- sorted_files = g_list_sort (g_list_copy (files), (GCompareFunc) file_compare_by_mime_type);
-
- ret = TRUE;
- for (l = sorted_files; l != NULL; l = l->next)
- {
- file = CAJA_FILE (l->data);
-
- if (l->prev &&
- file_compare_by_mime_type (file, l->prev->data) == 0 &&
- file_compare_by_parent_uri (file, l->prev->data) == 0)
- {
- continue;
- }
-
- if (!caja_mime_has_any_applications_for_file (file))
- {
- ret = FALSE;
- break;
- }
- }
-
- g_list_free (sorted_files);
-
- return ret;
-}
-
-
-
static void
trash_or_delete_files (GtkWindow *parent_window,
const GList *files,