aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-06-06 15:04:05 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-06-06 15:04:05 -0500
commitde56d59d57a585d80618873531f05f13ea08c8a2 (patch)
treed42cac1c54ad07f0cb76cea65fcb80bb40beab2f
parentda3c570125d63198a2fa7c60998db162fd2e0fcc (diff)
downloadayatana-indicator-power-de56d59d57a585d80618873531f05f13ea08c8a2.tar.gz
ayatana-indicator-power-de56d59d57a585d80618873531f05f13ea08c8a2.tar.bz2
ayatana-indicator-power-de56d59d57a585d80618873531f05f13ea08c8a2.zip
IndicatorObjectDevice's finalize() function needs to chain up to the parent class.
-rw-r--r--src/device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index 8ea440c..5919aa8 100644
--- a/src/device.c
+++ b/src/device.c
@@ -145,6 +145,8 @@ indicator_power_device_finalize (GObject *object)
IndicatorPowerDevicePrivate * priv = self->priv;
g_clear_pointer (&priv->object_path, g_free);
+
+ G_OBJECT_CLASS (indicator_power_device_parent_class)->finalize (object);
}
/***