mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 08:28:43 +02:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user