mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
girepository: Remove _
prefix from private functions
Now that libgirepository uses `GI_AVAILABLE_IN_*` macros, that’s what controls symbol visibility. The `_` prefixes are redundant, and out of keeping with the rest of GLib. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3155
This commit is contained in:
@@ -146,9 +146,9 @@ gi_type_info_get_param_type (GITypeInfo *info,
|
||||
case GI_TYPE_TAG_GLIST:
|
||||
case GI_TYPE_TAG_GSLIST:
|
||||
case GI_TYPE_TAG_GHASH:
|
||||
return _gi_type_info_new ((GIBaseInfo*)info, rinfo->typelib,
|
||||
rinfo->offset + sizeof (ParamTypeBlob)
|
||||
+ sizeof (SimpleTypeBlob) * n);
|
||||
return gi_type_info_new ((GIBaseInfo*)info, rinfo->typelib,
|
||||
rinfo->offset + sizeof (ParamTypeBlob)
|
||||
+ sizeof (SimpleTypeBlob) * n);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -207,7 +207,7 @@ gi_type_info_get_interface (GITypeInfo *info)
|
||||
InterfaceTypeBlob *blob = (InterfaceTypeBlob *)&rinfo->typelib->data[rinfo->offset];
|
||||
|
||||
if (blob->tag == GI_TYPE_TAG_INTERFACE)
|
||||
return _gi_info_from_entry (rinfo->repository, rinfo->typelib, blob->interface);
|
||||
return gi_info_from_entry (rinfo->repository, rinfo->typelib, blob->interface);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user