From cb4bd9d9338e07504365491c1b45bf7918fdc8bc Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 13 Feb 2012 14:15:28 -0600 Subject: consistent use of ICON_POLICY_KEY --- src/indicator-power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indicator-power.c b/src/indicator-power.c index d000365..90db2f9 100644 --- a/src/indicator-power.c +++ b/src/indicator-power.c @@ -1019,7 +1019,7 @@ should_be_visible (IndicatorPower * self) { gboolean visible = TRUE; - const int icon_policy = g_settings_get_enum (self->settings, "icon-policy"); + const int icon_policy = g_settings_get_enum (self->settings, ICON_POLICY_KEY); g_debug ("icon_policy is: %d (present==0, charge==1, never==2)", icon_policy); -- cgit v1.2.3