mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 15:38:44 +02:00
gibaseinfo: Rename gi_info_new() to gi_base_info_new()
It’s actually a factory method rather than a constructor, since `GIBaseInfo` is abstract, but despite that, changing the name so it sits inside the `GIBaseInfo` class makes sense. There is no `GIInfo` type. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3155
This commit is contained in:
@@ -158,9 +158,9 @@ gi_field_info_get_type_info (GIFieldInfo *info)
|
||||
|
||||
if (blob->has_embedded_type)
|
||||
{
|
||||
type_info = (GIRealInfo *) gi_info_new (GI_INFO_TYPE_TYPE,
|
||||
(GIBaseInfo*)info, rinfo->typelib,
|
||||
rinfo->offset + header->field_blob_size);
|
||||
type_info = (GIRealInfo *) gi_base_info_new (GI_INFO_TYPE_TYPE,
|
||||
(GIBaseInfo*)info, rinfo->typelib,
|
||||
rinfo->offset + header->field_blob_size);
|
||||
type_info->type_is_embedded = TRUE;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user