From b541b589376952517bb1d7c24f05ab5eef4adb9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 18 Mar 2019 15:12:37 +0000 Subject: [PATCH] netsim: don't use G_INLINE_FUNC It's deprecated. Just use 'inline'. --- gst/netsim/gstnetsim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/netsim/gstnetsim.c b/gst/netsim/gstnetsim.c index 90178c7044..0c27a67f54 100644 --- a/gst/netsim/gstnetsim.c +++ b/gst/netsim/gstnetsim.c @@ -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)) {