mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 03:04:05 +02: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:
@@ -145,7 +145,7 @@ gi_base_info_init (GIBaseInfo *self)
|
|||||||
}
|
}
|
||||||
|
|
||||||
GType
|
GType
|
||||||
gi_base_info_gtype_get_type (void)
|
gi_base_info_get_type (void)
|
||||||
{
|
{
|
||||||
static GType base_info_type = 0;
|
static GType base_info_type = 0;
|
||||||
|
|
||||||
|
@@ -48,11 +48,11 @@ typedef struct {
|
|||||||
gpointer data4;
|
gpointer data4;
|
||||||
} GIAttributeIter;
|
} 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
|
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
|
GI_AVAILABLE_IN_ALL
|
||||||
GIBaseInfo * gi_base_info_ref (GIBaseInfo *info);
|
GIBaseInfo * gi_base_info_ref (GIBaseInfo *info);
|
||||||
|
Reference in New Issue
Block a user