gistructinfo: Rename get_*_function() methods to get_*_function_name()

Because they return the function name, not a `GIFunctionInfo` or
anything else.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3155
This commit is contained in:
Philip Withnall
2023-12-12 18:18:51 +00:00
parent cacf8cc93b
commit e138287769
3 changed files with 8 additions and 8 deletions

View File

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