Skip to content
Permalink
Browse files

Minor code-quality enhancements

  • Loading branch information...
Sargastic authored and raveit65 committed Aug 16, 2018
1 parent 89db50e commit 1846d75ba9b18d4017973d79b15045693ff8baac
Showing with 7 additions and 6 deletions.
  1. +6 −6 libcaja-private/caja-file.c
  2. +1 −0 libcaja-private/caja-window-info.h
@@ -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)
@@ -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);

0 comments on commit 1846d75

Please sign in to comment.
You can’t perform that action at this time.