diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-05-29 14:41:27 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-05-29 14:41:27 -0500 |
commit | 5786ecae0d9ecae7aaf2b19094474db54e53a691 (patch) | |
tree | c8b1e05528c69b40db71f333715dcccb4469b137 /src | |
parent | 1c35339e5c32df4908659e53be54d146893b6fe3 (diff) | |
download | ayatana-indicator-power-5786ecae0d9ecae7aaf2b19094474db54e53a691.tar.gz ayatana-indicator-power-5786ecae0d9ecae7aaf2b19094474db54e53a691.tar.bz2 ayatana-indicator-power-5786ecae0d9ecae7aaf2b19094474db54e53a691.zip |
t^Cak to indicator_set_power_differences()
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-power.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); |