From 5786ecae0d9ecae7aaf2b19094474db54e53a691 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 29 May 2012 14:41:27 -0500 Subject: t^Cak to indicator_set_power_differences() --- src/indicator-power.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/indicator-power.c b/src/indicator-power.c index 6690f9b..7029739 100644 --- a/src/indicator-power.c +++ b/src/indicator-power.c @@ -766,12 +766,11 @@ put_primary_device (IndicatorPower *self, IndicatorPowerDevice *device) void indicator_power_set_devices (IndicatorPower * self, GSList * devices) { - IndicatorPowerPrivate * priv; - /* LCOV_EXCL_START */ g_return_if_fail (IS_INDICATOR_POWER(self)); /* LCOV_EXCL_STOP */ - priv = self->priv; + + IndicatorPowerPrivate * priv = self->priv; /* update our devices & primary device */ g_slist_foreach (devices, (GFunc)g_object_ref, NULL); -- cgit v1.2.3