girepository: Rename get_type() methods to get_type_info()

These methods don’t return a `GType`, so when the code gets ported to
`GTypeInstance` in an upcoming commit, that will become quite confusing.

Rename them all to `get_type_info()` instead.

This introduces no functional changes, but it is an API break.

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

Helps: #3155
This commit is contained in:
Philip Withnall
2023-11-28 17:09:26 +00:00
parent a16be963b4
commit 9eabdd7c2e
10 changed files with 22 additions and 22 deletions

View File

@@ -80,7 +80,7 @@ gi_property_info_get_flags (GIPropertyInfo *info)
}
/**
* gi_property_info_get_type:
* gi_property_info_get_type_info:
* @info: a #GIPropertyInfo
*
* Obtain the type information for the property @info.
@@ -89,7 +89,7 @@ gi_property_info_get_flags (GIPropertyInfo *info)
* gi_base_info_unref() when done.
*/
GITypeInfo *
gi_property_info_get_type (GIPropertyInfo *info)
gi_property_info_get_type_info (GIPropertyInfo *info)
{
GIRealInfo *rinfo = (GIRealInfo *)info;