girepository: Rename gi_base_info_gtype_get_type() to just get_type()

This makes it more conventional for how `GType` code is normally written.

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-12-12 16:23:03 +00:00
parent 6876f21aee
commit 4ccbc1b9d7
2 changed files with 3 additions and 3 deletions

View File

@ -145,7 +145,7 @@ gi_base_info_init (GIBaseInfo *self)
}
GType
gi_base_info_gtype_get_type (void)
gi_base_info_get_type (void)
{
static GType base_info_type = 0;

View File

@ -48,11 +48,11 @@ typedef struct {
gpointer data4;
} GIAttributeIter;
#define GI_TYPE_BASE_INFO (gi_base_info_gtype_get_type ())
#define GI_TYPE_BASE_INFO (gi_base_info_get_type ())
GI_AVAILABLE_IN_ALL
GType gi_base_info_gtype_get_type (void) G_GNUC_CONST;
GType gi_base_info_get_type (void) G_GNUC_CONST;
GI_AVAILABLE_IN_ALL
GIBaseInfo * gi_base_info_ref (GIBaseInfo *info);