Mark an argument const
This commit is contained in:
parent
9c829aeb3c
commit
f35614757b
@ -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;
|
gchar **argv;
|
||||||
const gchar *command = is_osx_bundle() ? "open" : "geany";
|
const gchar *command = is_osx_bundle() ? "open" : "geany";
|
||||||
|
@ -310,7 +310,7 @@ gchar *utils_get_user_config_dir(void);
|
|||||||
|
|
||||||
const gchar *utils_resource_dir(GeanyResourceDirType type);
|
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 */
|
#endif /* GEANY_PRIVATE */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user