aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-power.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indicator-power.c')
-rw-r--r--src/indicator-power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index bdec98e..d000365 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -134,7 +134,7 @@ indicator_power_init (IndicatorPower *self)
NULL);
self->settings = g_settings_new ("com.canonical.indicator.power");
- g_signal_connect_swapped (G_OBJECT(self->settings), "changed::" ICON_POLICY_KEY,
+ g_signal_connect_swapped (self->settings, "changed::" ICON_POLICY_KEY,
G_CALLBACK(update_visibility), self);
g_object_set (G_OBJECT(self),
INDICATOR_OBJECT_DEFAULT_VISIBILITY, self->visible,