bus: chain up GObject::constructed() to the parent class' implementation
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 28 Jun 2016 13:01:17 +0000 (15:01 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 28 Jun 2016 14:23:17 +0000 (17:23 +0300)
Needed so GstBus can be tracked by the leaks tracer.

https://bugzilla.gnome.org/show_bug.cgi?id=768141

gst/gstbus.c

index 303e34a..b8c2995 100644 (file)
@@ -149,6 +149,8 @@ gst_bus_constructed (GObject * object)
     bus->priv->poll = gst_poll_new_timer ();
     gst_poll_get_read_gpollfd (bus->priv->poll, &bus->priv->pollfd);
   }
+
+  G_OBJECT_CLASS (gst_bus_parent_class)->constructed (object);
 }
 
 static void