diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2019-03-18 15:12:37 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-03-18 15:12:37 +0000 |
commit | b541b589376952517bb1d7c24f05ab5eef4adb9b (patch) | |
tree | 0aaa0f87fa655dd8e3a0bbbcbc4accc29a7ae5b7 /gst | |
parent | 7c136bbb5ee34dfc1a0b003f5db351f1986106a0 (diff) | |
download | gstreamer-plugins-bad-b541b589376952517bb1d7c24f05ab5eef4adb9b.tar.gz |
netsim: don't use G_INLINE_FUNC
It's deprecated. Just use 'inline'.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/netsim/gstnetsim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/netsim/gstnetsim.c b/gst/netsim/gstnetsim.c index 90178c704..0c27a67f5 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)) { |