bus: Clean up #ifdefs to compile with debugging enabled in all combinations

Thanks to Roland Jon for finding this.
This commit is contained in:
Sebastian Dröge 2019-12-05 09:54:32 +02:00 committed by GStreamer Merge Bot
parent a90220cce1
commit 020eb2c346

View file

@ -876,11 +876,9 @@ gst_bus_source_finalize (GSource * source)
GstBusSource *bsource = (GstBusSource *) source;
#if !GLIB_CHECK_VERSION(2,63,3)
GstBus *bus = bsource->bus;
#endif
GST_DEBUG_OBJECT (bus, "finalize source %p", source);
#if !GLIB_CHECK_VERSION(2,63,3)
GST_OBJECT_LOCK (bus);
if (bus->priv->signal_watch == source)
bus->priv->signal_watch = NULL;