summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-01-13 17:14:37 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-02-22 12:13:02 +0000
commit59d9c5a8a9ac40abf6b8739d06c5fb8c0b2dfa03 (patch)
treec2f2ce0f51a3777ec67420b6fd60838392544b22 /plugins
parent2b957a8122af00518f6c7fad623e8a0818ff8813 (diff)
gabble_gateway_sidecar_dispose: chain up to parent class correctly
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gateways.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/gateways.c b/plugins/gateways.c
index 42b5be91..08403467 100644
--- a/plugins/gateways.c
+++ b/plugins/gateways.c
@@ -185,6 +185,8 @@ gabble_gateway_sidecar_set_property (
static void
gabble_gateway_sidecar_dispose (GObject *object)
{
+ void (*chain_up) (GObject *) =
+ G_OBJECT_CLASS (gabble_gateway_sidecar_parent_class)->dispose;
GabbleGatewaySidecar *self = GABBLE_GATEWAY_SIDECAR (object);
if (self->priv->connection != NULL)
@@ -198,6 +200,9 @@ gabble_gateway_sidecar_dispose (GObject *object)
g_object_unref (self->priv->session);
self->priv->session = NULL;
}
+
+ if (chain_up != NULL)
+ chain_up (object);
}
static void