summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcaja-private/caja-file.c12
-rw-r--r--libcaja-private/caja-window-info.h1
2 files changed, 7 insertions, 6 deletions
diff --git a/libcaja-private/caja-file.c b/libcaja-private/caja-file.c
index effcdd71..1a9dd1be 100644
--- a/libcaja-private/caja-file.c
+++ b/libcaja-private/caja-file.c
@@ -3628,6 +3628,12 @@ caja_file_is_hidden_file (CajaFile *file)
return file->details->is_hidden;
}
+gboolean
+caja_file_is_backup_file (CajaFile *file)
+{
+ return file->details->is_backup;
+}
+
/**
* caja_file_should_show:
* @file: the file to check.
@@ -3679,12 +3685,6 @@ caja_file_is_in_desktop (CajaFile *file)
}
-gboolean
-caja_file_is_backup_file (CajaFile *file)
-{
- return file->details->is_backup;
-}
-
static gboolean
filter_hidden_partition_callback (gpointer data,
gpointer callback_data)
diff --git a/libcaja-private/caja-window-info.h b/libcaja-private/caja-window-info.h
index 20ecc414..b4cf8722 100644
--- a/libcaja-private/caja-window-info.h
+++ b/libcaja-private/caja-window-info.h
@@ -192,6 +192,7 @@ extern "C" {
CajaWindowShowHiddenFilesMode caja_window_info_get_hidden_files_mode (CajaWindowInfo *window);
void caja_window_info_set_hidden_files_mode (CajaWindowInfo *window,
CajaWindowShowHiddenFilesMode mode);
+ CajaWindowShowBackupFilesMode caja_window_info_get_backup_files_mode (CajaWindowInfo *window);
void caja_window_info_set_backup_files_mode (CajaWindowInfo *window,
CajaWindowShowBackupFilesMode mode);