Mark an argument const

This commit is contained in:
Colomban Wendling 2015-03-17 14:09:31 +01:00
parent 9c829aeb3c
commit f35614757b
2 changed files with 2 additions and 2 deletions

View File

@ -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";

View File

@ -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 */