[easytag] Remove outdated configuration file handling
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Remove outdated configuration file handling
- Date: Wed, 29 Oct 2014 22:15:39 +0000 (UTC)
commit a9e53282ecc64c02f84edc6bacc2b578719244c9
Author: David King <amigadave amigadave com>
Date: Wed Oct 29 20:59:46 2014 +0000
Remove outdated configuration file handling
src/setting.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/setting.c b/src/setting.c
index 3bb34b0..ebf98c7 100644
--- a/src/setting.c
+++ b/src/setting.c
@@ -59,8 +59,6 @@
* NetBSD's mkdir(2).
*/
-// File for configuration
-static const gchar CONFIG_FILE[] = "easytagrc";
// File of masks for tag scanner
static const gchar SCAN_TAG_MASKS_FILE[] = "scan_tag.mask";
// File of masks for rename file scanner
@@ -142,7 +140,7 @@ static void check_or_create_file (const gchar *filename)
else
{
Log_Print (LOG_ERROR, _("Cannot create or open file ā%sā: %s"),
- CONFIG_FILE, g_strerror (errno));
+ filename, g_strerror (errno));
}
g_free (file_path);
@@ -395,8 +393,7 @@ static void
migrate_config_file_dir (const gchar *old_path, const gchar *new_path)
{
gsize i;
- static const gchar *filenames[] = { CONFIG_FILE,
- SCAN_TAG_MASKS_FILE,
+ static const gchar *filenames[] = { SCAN_TAG_MASKS_FILE,
RENAME_FILE_MASKS_FILE,
PATH_ENTRY_HISTORY_FILE,
RUN_PROGRAM_WITH_DIRECTORY_HISTORY_FILE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]