aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service.c')
-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 */