From: Tim-Philipp Müller Date: Mon, 18 Mar 2019 15:12:37 +0000 (+0000) Subject: netsim: don't use G_INLINE_FUNC X-Git-Tag: 1.19.3~507^2~3489 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b541b589376952517bb1d7c24f05ab5eef4adb9b;p=platform%2Fupstream%2Fgstreamer.git netsim: don't use G_INLINE_FUNC It's deprecated. Just use 'inline'. --- 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)) {