aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-08-19 22:47:23 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-08-19 22:47:23 -0500
commit7121aeb582dd9a9ca2c7c05779ba636f0589dc0a (patch)
tree31eadca8175f05832a8f65f14c289d56d56f26c5
parent21871f8d00f93bbb758148f0e579a9422972db6b (diff)
downloadayatana-indicator-power-7121aeb582dd9a9ca2c7c05779ba636f0589dc0a.tar.gz
ayatana-indicator-power-7121aeb582dd9a9ca2c7c05779ba636f0589dc0a.tar.bz2
ayatana-indicator-power-7121aeb582dd9a9ca2c7c05779ba636f0589dc0a.zip
copyediting: trivial dead code removal
-rw-r--r--src/service.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c
index f69d429..b59bce3 100644
--- a/src/service.c
+++ b/src/service.c
@@ -765,7 +765,7 @@ init_gactions (IndicatorPowerService * self)
GActionEntry entries[] = {
{ "activate-settings", on_settings_activated },
- { "activate-statistics", on_statistics_activated },
+ { "activate-statistics", on_statistics_activated }
};
p->actions = g_simple_action_group_new ();
@@ -790,7 +790,6 @@ init_gactions (IndicatorPowerService * self)
a = g_simple_action_new_stateful ("brightness", NULL, action_state_for_brightness (self));
g_simple_action_group_insert (p->actions, G_ACTION(a));
g_signal_connect (a, "change-state", G_CALLBACK(on_brightness_change_requested), self);
- //{ "brightness", NULL, G_TYPE_DOUBLE, "0.0", on_brightness_change_requested }
p->brightness_action = a;
/* add the show-time action */