netsim: don't use G_INLINE_FUNC

It's deprecated. Just use 'inline'.
This commit is contained in:
Tim-Philipp Müller 2019-03-18 15:12:37 +00:00
parent 7c136bbb5e
commit b541b58937

View file

@ -211,7 +211,7 @@ typedef struct
GstBuffer *buf;
} PushBufferCtx;
G_INLINE_FUNC PushBufferCtx *
static inline PushBufferCtx *
push_buffer_ctx_new (GstPad * pad, GstBuffer * buf)
{
PushBufferCtx *ctx = g_slice_new (PushBufferCtx);
@ -220,7 +220,7 @@ push_buffer_ctx_new (GstPad * pad, GstBuffer * buf)
return ctx;
}
G_INLINE_FUNC void
static inline void
push_buffer_ctx_free (PushBufferCtx * ctx)
{
if (G_LIKELY (ctx != NULL)) {