diff --git a/ChangeLog b/ChangeLog index 97d804fd..e6fd6a0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,7 @@ * src/main.c, src/win32.c, src/win32.h: Create Geany's configuration directory in user's appdata path instead of the default home directory (closes #1856305). + * src/geany.h, src/project.c: Remove unnecessary macro GEANY_HOME_DIR. 2007-12-28 Nick Treleaven diff --git a/src/geany.h b/src/geany.h index ae4c7095..6794e7b9 100644 --- a/src/geany.h +++ b/src/geany.h @@ -42,7 +42,6 @@ // for detailed description look in the documentation, things are not // listed in the documentation should not be changed ;-) -#define GEANY_HOME_DIR g_get_home_dir() #define GEANY_FILEDEFS_SUBDIR "filedefs" #define GEANY_TEMPLATES_SUBDIR "templates" #define GEANY_CODENAME "Vensell" diff --git a/src/project.c b/src/project.c index 3ec6da11..f4bd7f5c 100644 --- a/src/project.c +++ b/src/project.c @@ -984,7 +984,7 @@ void project_load_prefs(GKeyFile *config) "project_file_path", NULL); if (local_prefs.project_file_path == NULL) { - local_prefs.project_file_path = g_strconcat(GEANY_HOME_DIR, + local_prefs.project_file_path = g_strconcat(g_get_home_dir(), G_DIR_SEPARATOR_S, PROJECT_DIR, NULL); } }