diff --git a/src/tagmanager/tm_source_file.c b/src/tagmanager/tm_source_file.c index 2b13574e..b207bd21 100644 --- a/src/tagmanager/tm_source_file.c +++ b/src/tagmanager/tm_source_file.c @@ -115,7 +115,7 @@ static char *realpath (const char *pathname, char *resolved_path) of the file. @param file_name The original file_name @return A newly allocated string containing the real path to the file. NULL if none is available. - @deprecated since 1.29 (ABI 230) + @deprecated since 1.32 (ABI 235) @see utils_get_real_path() */ GEANY_API_SYMBOL diff --git a/src/tagmanager/tm_source_file.h b/src/tagmanager/tm_source_file.h index a63515b3..1806edf6 100644 --- a/src/tagmanager/tm_source_file.h +++ b/src/tagmanager/tm_source_file.h @@ -42,7 +42,11 @@ TMSourceFile *tm_source_file_new(const char *file_name, const char *name); void tm_source_file_free(TMSourceFile *source_file); -gchar *tm_get_real_path(const gchar *file_name); +gchar *tm_get_real_path(const gchar *file_name) +#ifndef GEANY_PRIVATE +G_DEPRECATED_FOR(utils_get_real_path) +#endif +; #ifdef GEANY_PRIVATE diff --git a/src/utils.c b/src/utils.c index 462def70..9fb69bb1 100644 --- a/src/utils.c +++ b/src/utils.c @@ -2196,7 +2196,7 @@ void utils_start_new_geany_instance(const gchar *doc_path) * should be freed with `g_free()` when no longer needed, or @c NULL * if the real path cannot be obtained. * - * @since 1.29 (API 230) + * @since 1.32 (API 235) */ GEANY_API_SYMBOL gchar *utils_get_real_path(const gchar *file_name)