From 58e2b2ef1c057839b3fdc6b87a5b0a6708771ab6 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Wed, 2 Aug 2017 10:46:46 +0300 Subject: [PATCH] ipcpipeline: don't use g_steal_pointer; it's not in the current required version of GLib We depend on GLib 2.40, g_steal_pointer was introduced in 2.44. https://bugzilla.gnome.org/show_bug.cgi?id=785698 --- sys/ipcpipeline/gstipcpipelinecomm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/ipcpipeline/gstipcpipelinecomm.c b/sys/ipcpipeline/gstipcpipelinecomm.c index eee8e52..e21da99 100644 --- a/sys/ipcpipeline/gstipcpipelinecomm.c +++ b/sys/ipcpipeline/gstipcpipelinecomm.c @@ -2305,7 +2305,8 @@ gst_value_deserialize_event (GValue * dest, const gchar * s) goto fail; gst_event_set_running_time_offset (ev, g_value_get_int64 (&val)); - g_value_take_boxed (dest, g_steal_pointer (&ev)); + g_value_take_boxed (dest, ev); + ev = NULL; ret = TRUE; fail: -- 2.7.4