From 5db76b4d4138ce7efe1bb591ad128ffb48cb725d Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 10 Dec 2020 15:05:31 -0300 Subject: [PATCH] bus: Do not override source->prepare Since GLib 2.36 we do not need it. Part-of: --- gst/gstbus.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gst/gstbus.c b/gst/gstbus.c index dbe503e2cf..5fea8b7048 100644 --- a/gst/gstbus.c +++ b/gst/gstbus.c @@ -804,13 +804,6 @@ typedef struct GstBus *bus; } GstBusSource; -static gboolean -gst_bus_source_prepare (GSource * source, gint * timeout) -{ - *timeout = -1; - return FALSE; -} - static gboolean gst_bus_source_check (GSource * source) { @@ -902,7 +895,7 @@ gst_bus_source_finalize (GSource * source) } static GSourceFuncs gst_bus_source_funcs = { - gst_bus_source_prepare, + NULL, gst_bus_source_check, gst_bus_source_dispatch, gst_bus_source_finalize