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-05-02 11:00:31 +0100 |
commit | e80d9ea6ee2cfdcc1f84159e6f57d573d0bd4fde (patch) | |
tree | a0102a4baceb29deed496f50fe678a37f95d0775 | |
parent | 2a539425d5108fd62c2332f67d1cb66c162bd3e1 (diff) | |
download | gstreamer-plugins-bad-e80d9ea6ee2cfdcc1f84159e6f57d573d0bd4fde.tar.gz |
netsim: don't use G_INLINE_FUNC
It's deprecated. Just use 'inline'.
-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)) { |