mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-06 07:58: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:
@@ -64,8 +64,8 @@ gi_base_info_find_method (GIBaseInfo *base,
|
||||
const char *fname = (const char *)&rinfo->typelib->data[fblob->name];
|
||||
|
||||
if (strcmp (name, fname) == 0)
|
||||
return (GIFunctionInfo *) gi_info_new (GI_INFO_TYPE_FUNCTION, base,
|
||||
rinfo->typelib, offset);
|
||||
return (GIFunctionInfo *) gi_base_info_new (GI_INFO_TYPE_FUNCTION, base,
|
||||
rinfo->typelib, offset);
|
||||
|
||||
offset += header->function_blob_size;
|
||||
}
|
||||
|
Reference in New Issue
Block a user