diff --git a/girepository/girwriter.c b/girepository/girwriter.c index a070ec50c..6ce9caf48 100644 --- a/girepository/girwriter.c +++ b/girepository/girwriter.c @@ -680,11 +680,11 @@ write_struct_info (const gchar *ns, if (is_gtype_struct) xml_printf (file, " glib:is-gtype-struct=\"1\""); - func = gi_struct_info_get_copy_function (info); + func = gi_struct_info_get_copy_function_name (info); if (func) xml_printf (file, " copy-function=\"%s\"", func); - func = gi_struct_info_get_free_function (info); + func = gi_struct_info_get_free_function_name (info); if (func) xml_printf (file, " free-function=\"%s\"", func); diff --git a/girepository/gistructinfo.c b/girepository/gistructinfo.c index 38d818f0f..a9a944892 100644 --- a/girepository/gistructinfo.c +++ b/girepository/gistructinfo.c @@ -286,7 +286,7 @@ gi_struct_info_is_gtype_struct (GIStructInfo *info) } /** - * gi_struct_info_get_copy_function: + * gi_struct_info_get_copy_function_name: * @info: a struct information blob * * Retrieves the name of the copy function for @info, if any is set. @@ -296,7 +296,7 @@ gi_struct_info_is_gtype_struct (GIStructInfo *info) * Since: 2.80 */ const char * -gi_struct_info_get_copy_function (GIStructInfo *info) +gi_struct_info_get_copy_function_name (GIStructInfo *info) { GIRealInfo *rinfo = (GIRealInfo *)info; StructBlob *blob; @@ -313,7 +313,7 @@ gi_struct_info_get_copy_function (GIStructInfo *info) } /** - * gi_struct_info_get_free_function: + * gi_struct_info_get_free_function_name: * @info: a struct information blob * * Retrieves the name of the free function for @info, if any is set. @@ -323,7 +323,7 @@ gi_struct_info_get_copy_function (GIStructInfo *info) * Since: 2.80 */ const char * -gi_struct_info_get_free_function (GIStructInfo *info) +gi_struct_info_get_free_function_name (GIStructInfo *info) { GIRealInfo *rinfo = (GIRealInfo *)info; StructBlob *blob; diff --git a/girepository/gistructinfo.h b/girepository/gistructinfo.h index 23067a553..f124cc191 100644 --- a/girepository/gistructinfo.h +++ b/girepository/gistructinfo.h @@ -77,9 +77,9 @@ GI_AVAILABLE_IN_ALL gboolean gi_struct_info_is_foreign (GIStructInfo *info); GI_AVAILABLE_IN_ALL -const char * gi_struct_info_get_copy_function (GIStructInfo *info); +const char * gi_struct_info_get_copy_function_name (GIStructInfo *info); GI_AVAILABLE_IN_ALL -const char * gi_struct_info_get_free_function (GIStructInfo *info); +const char * gi_struct_info_get_free_function_name (GIStructInfo *info); G_END_DECLS