SF.net SVN: geany: [2139] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Sun Dec 30 21:03:06 UTC 2007
Revision: 2139
http://geany.svn.sourceforge.net/geany/?rev=2139&view=rev
Author: eht16
Date: 2007-12-30 13:02:50 -0800 (Sun, 30 Dec 2007)
Log Message:
-----------
Remove unnecessary macro GEANY_HOME_DIR.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/geany.h
trunk/src/project.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-12-30 20:57:34 UTC (rev 2138)
+++ trunk/ChangeLog 2007-12-30 21:02:50 UTC (rev 2139)
@@ -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>
Modified: trunk/src/geany.h
===================================================================
--- trunk/src/geany.h 2007-12-30 20:57:34 UTC (rev 2138)
+++ trunk/src/geany.h 2007-12-30 21:02:50 UTC (rev 2139)
@@ -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"
Modified: trunk/src/project.c
===================================================================
--- trunk/src/project.c 2007-12-30 20:57:34 UTC (rev 2138)
+++ trunk/src/project.c 2007-12-30 21:02:50 UTC (rev 2139)
@@ -984,7 +984,7 @@
"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);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list