devicemonitor: g_queue_clear_full introduced in glib 2.60
authorRuben Gonzalez <rgonzalez@fluendo.com>
Mon, 25 Oct 2021 19:55:25 +0000 (21:55 +0200)
committerRuben Gonzalez <rgonzalez@fluendo.com>
Mon, 25 Oct 2021 19:55:25 +0000 (21:55 +0200)
commit0fee1e5d4612b8cfc32f47aeff51d83fa23ec179
tree8961f734b37eefe05de2207f9d9200d860429592
parent6d447acef59ff0d116e870a54cdea69a837f8632
devicemonitor: g_queue_clear_full introduced in glib 2.60

The GStreamer dependency is glib >=2.56.0. Therefore, define
g_queue_clear_full if glib < 2.60.

Issue added in commit 1912bcbc

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1251>
subprojects/gstreamer/gst/gstdevicemonitor.c