Remove unnecessary macro GEANY_HOME_DIR.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2139 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
8849ed8819
commit
eb7b9b38ed
@ -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 <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user