aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-05-16 12:59:03 -0500
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 10:17:14 +0200
commit39571b0e05c78627d233b2f77250de459d73f4a6 (patch)
tree275260eeace7790c5763d3ed8668386e417d7e24 /src/notifier.c
parent557e10a031b886dc670bdf5918c3984edbace5ac (diff)
downloadayatana-indicator-power-39571b0e05c78627d233b2f77250de459d73f4a6.tar.gz
ayatana-indicator-power-39571b0e05c78627d233b2f77250de459d73f4a6.tar.bz2
ayatana-indicator-power-39571b0e05c78627d233b2f77250de459d73f4a6.zip
fix cmake warning of the test apps' dependency on the service library
Diffstat (limited to 'src/notifier.c')
-rw-r--r--src/notifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notifier.c b/src/notifier.c
index da5c5d5..d982ac2 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -489,7 +489,7 @@ indicator_power_notifier_init (IndicatorPowerNotifier * self)
p->cancellable = g_cancellable_new();
- if (!instance_count++ && !notify_init("ayatana-indicator-power-service"))
+ if (!instance_count++ && !notify_init(SERVICE_EXEC))
g_critical("Unable to initialize libnotify! Notifications might not be shown.");
#ifdef HAS_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS