diff options
author | Sargastic <[email protected]> | 2018-08-16 08:04:13 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-12-27 13:11:09 +0100 |
commit | 1846d75ba9b18d4017973d79b15045693ff8baac (patch) | |
tree | 11704c2828ef14fd413bc6eeea6e9d2d2f82848b /libcaja-private | |
parent | 89db50ed13541155f56685c6cd2651fa7f18244a (diff) | |
download | caja-1846d75ba9b18d4017973d79b15045693ff8baac.tar.bz2 caja-1846d75ba9b18d4017973d79b15045693ff8baac.tar.xz |
Minor code-quality enhancements
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-file.c | 12 | ||||
-rw-r--r-- | libcaja-private/caja-window-info.h | 1 |
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); |