girepository: Make _blob_is_registered_type static inline

This follows the usage in the glib codebase and recommendations at
main/docs/toolchain-requirements.md

It also fixes a build warning with ancient gcc 4.8:
../girepository/gitypelib-internal.h:202:1: warning:
no previous prototype for ‘_blob_is_registered_type’ [-Wmissing-prototypes]
This commit is contained in:
Olivier Blin 2024-07-24 11:06:25 +02:00
parent 84b6f747cb
commit 190f9249cd

View File

@ -198,7 +198,7 @@ typedef enum {
#if defined (G_CAN_INLINE) && defined (G_ALWAYS_INLINE)
G_ALWAYS_INLINE
inline gboolean
static inline gboolean
_blob_is_registered_type (GITypelibBlobType blob_type)
{
switch (blob_type)