summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-07-08 18:14:12 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2013-07-08 18:41:36 +0200
commit3da9f1b49c9d3956b925546ff7e929fcb38731f4 (patch)
treee350015a827e6935a0bbd69c73ada2b0411505ef
parent0c8eccaff742fa1c7e55fa0ea4957bd23be5d3a5 (diff)
gst: Chain up dispose impl to parent class
-rw-r--r--gtk/spice-gstaudio.c3
1 files changed, 3 insertions, 0 deletions
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)