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; GstBuffer *buf;
} PushBufferCtx; } PushBufferCtx;
G_INLINE_FUNC PushBufferCtx * static inline PushBufferCtx *
push_buffer_ctx_new (GstPad * pad, GstBuffer * buf) push_buffer_ctx_new (GstPad * pad, GstBuffer * buf)
{ {
PushBufferCtx *ctx = g_slice_new (PushBufferCtx); PushBufferCtx *ctx = g_slice_new (PushBufferCtx);
@ -220,7 +220,7 @@ push_buffer_ctx_new (GstPad * pad, GstBuffer * buf)
return ctx; return ctx;
} }
G_INLINE_FUNC void static inline void
push_buffer_ctx_free (PushBufferCtx * ctx) push_buffer_ctx_free (PushBufferCtx * ctx)
{ {
if (G_LIKELY (ctx != NULL)) { if (G_LIKELY (ctx != NULL)) {