aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-power.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-02-13 14:14:09 -0600
committerCharles Kerr <charles.kerr@canonical.com>2012-02-13 14:14:09 -0600
commitf7d828a76741af2dd2652bff7d17e5b9d6764ced (patch)
tree9e82a44db668a3f63c82e8bd3648c97003c58cfa /src/indicator-power.c
parent695ba1e2dba25a8974e618b58c4d200cd1b6e8f3 (diff)
downloadayatana-indicator-power-f7d828a76741af2dd2652bff7d17e5b9d6764ced.tar.gz
ayatana-indicator-power-f7d828a76741af2dd2652bff7d17e5b9d6764ced.tar.bz2
ayatana-indicator-power-f7d828a76741af2dd2652bff7d17e5b9d6764ced.zip
remove unnecessary G_OBJECT() cast
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,