[Spice-devel] [spice-gtk 1/2] gst: Chain up dispose impl to parent class
Christophe Fergeau
cfergeau at redhat.com
Mon Jul 8 09:41:38 PDT 2013
---
gtk/spice-gstaudio.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gtk/spice-gstaudio.c b/gtk/spice-gstaudio.c
index 6dd250e..4a80889 100644
--- a/gtk/spice-gstaudio.c
+++ b/gtk/spice-gstaudio.c
@@ -101,6 +101,9 @@ static void spice_gstaudio_dispose(GObject *obj)
g_object_unref(p->rchannel);
p->rchannel = NULL;
}
+
+ if (G_OBJECT_CLASS(spice_gstaudio_parent_class)->dispose)
+ G_OBJECT_CLASS(spice_gstaudio_parent_class)->dispose(obj);
}
static void spice_gstaudio_init(SpiceGstaudio *pulse)
--
1.8.3.1
More information about the Spice-devel
mailing list