aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-05-24 11:50:38 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-05-24 11:50:38 -0500
commitcaae4241b85412d6914d6fd1e0a9bac9da35c6f3 (patch)
tree1700e1039b47194055560650725b09c5b7866fd1 /src
parentf18b60b0ce389bee7fc4784b6714f28567397b42 (diff)
downloadayatana-indicator-power-caae4241b85412d6914d6fd1e0a9bac9da35c6f3.tar.gz
ayatana-indicator-power-caae4241b85412d6914d6fd1e0a9bac9da35c6f3.tar.bz2
ayatana-indicator-power-caae4241b85412d6914d6fd1e0a9bac9da35c6f3.zip
remove the g_clear_pointer() calls s.t. things will build and run on alesage's Jenkins setup running Precise
Diffstat (limited to 'src')
-rw-r--r--src/device.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index d52ce8a..219e738 100644
--- a/src/device.c
+++ b/src/device.c
@@ -130,8 +130,12 @@ indicator_power_device_finalize (GObject *object)
IndicatorPowerDevice * self = INDICATOR_POWER_DEVICE(object);
IndicatorPowerDevicePrivate * priv = self->priv;
- g_clear_pointer (&priv->object_path, g_free);
- g_clear_pointer (&priv->icon, g_free);
+ //g_clear_pointer (&priv->object_path, g_free);
+ //g_clear_pointer (&priv->icon, g_free);
+ g_free (priv->object_path);
+ priv->object_path = NULL;
+ g_free (priv->icon);
+ priv->icon = NULL;
}
/***