bus: Clean up #ifdefs to compile with debugging enabled in all combinations
authorSebastian Dröge <sebastian@centricular.com>
Thu, 5 Dec 2019 07:54:32 +0000 (09:54 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 5 Dec 2019 08:21:54 +0000 (08:21 +0000)
Thanks to Roland Jon for finding this.

gst/gstbus.c

index a10b89c917120aa97e786a0e766f7376e059ea49..1bd7c2a687500182459deee9211317c8a141c36a 100644 (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;