mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
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:
parent
6876f21aee
commit
4ccbc1b9d7
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user