[geany/geany] f35614: Mark an argument const
Colomban Wendling
git-noreply at xxxxx
Tue Mar 17 13:09:31 UTC 2015
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Tue, 17 Mar 2015 13:09:31 UTC
Commit: f35614757ba56cfb53d58fa506dbad1afee17059
https://github.com/geany/geany/commit/f35614757ba56cfb53d58fa506dbad1afee17059
Log Message:
-----------
Mark an argument const
Modified Paths:
--------------
src/utils.c
src/utils.h
Modified: src/utils.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -2160,7 +2160,7 @@ const gchar *utils_resource_dir(GeanyResourceDirType type)
}
-void utils_start_new_geany_instance(gchar *doc_path)
+void utils_start_new_geany_instance(const gchar *doc_path)
{
gchar **argv;
const gchar *command = is_osx_bundle() ? "open" : "geany";
Modified: src/utils.h
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -310,7 +310,7 @@ gchar *utils_get_user_config_dir(void);
const gchar *utils_resource_dir(GeanyResourceDirType type);
-void utils_start_new_geany_instance(gchar *doc_path);
+void utils_start_new_geany_instance(const gchar *doc_path);
#endif /* GEANY_PRIVATE */
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list