Commit e80d9ea6 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

netsim: don't use G_INLINE_FUNC

It's deprecated. Just use 'inline'.
parent 2a539425
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment