aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2016-01-01 16:26:35 -0600
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 10:17:14 +0200
commit61327b52f353c829ed10b452d17fec3d36b8c601 (patch)
tree790f1899cf97c9698d05bb93f203fba00aab8541 /src
parent46efcd909dc04f6474f275071aadf41e7547f6d8 (diff)
downloadayatana-indicator-power-61327b52f353c829ed10b452d17fec3d36b8c601.tar.gz
ayatana-indicator-power-61327b52f353c829ed10b452d17fec3d36b8c601.tar.bz2
ayatana-indicator-power-61327b52f353c829ed10b452d17fec3d36b8c601.zip
fix notifier property in service
Diffstat (limited to 'src')
-rw-r--r--src/service.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 07f1106..a6c3432 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1270,6 +1270,13 @@ indicator_power_service_class_init (IndicatorPowerServiceClass * klass)
G_TYPE_OBJECT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+ properties[PROP_NOTIFIER] = g_param_spec_object (
+ "notifier",
+ "Notifier",
+ "Notifies user of important battery changes",
+ G_TYPE_OBJECT,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+
g_object_class_install_properties (object_class, LAST_PROP, properties);
}