aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-02-01 10:53:07 -0600
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 10:17:14 +0200
commitf4d66118c3a845892b32495efec3d6473e17baca (patch)
treefa61cb312c85ce9133397fc4c0c71e6494c8dbcc /src/notifier.h
parentb9068926a006bfcae447d3d14ef9ef50af2388ee (diff)
downloadayatana-indicator-power-f4d66118c3a845892b32495efec3d6473e17baca.tar.gz
ayatana-indicator-power-f4d66118c3a845892b32495efec3d6473e17baca.tar.bz2
ayatana-indicator-power-f4d66118c3a845892b32495efec3d6473e17baca.zip
for low power notifications, use libnotify's 'sound-file' property instead of indicator-power calling the sound player directly
Diffstat (limited to 'src/notifier.h')
-rw-r--r--src/notifier.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/notifier.h b/src/notifier.h
index 602f6e5..1b04943 100644
--- a/src/notifier.h
+++ b/src/notifier.h
@@ -23,7 +23,6 @@
#include <gio/gio.h>
#include "device.h"
-#include "sound-player.h"
G_BEGIN_DECLS
@@ -56,7 +55,7 @@ struct _IndicatorPowerNotifierClass
GType indicator_power_notifier_get_type (void);
-IndicatorPowerNotifier * indicator_power_notifier_new (IndicatorPowerSoundPlayer * sound_player);
+IndicatorPowerNotifier * indicator_power_notifier_new (void);
void indicator_power_notifier_set_bus (IndicatorPowerNotifier * self,
GDBusConnection * connection);
@@ -64,9 +63,6 @@ void indicator_power_notifier_set_bus (IndicatorPowerNotifier * self,
void indicator_power_notifier_set_battery (IndicatorPowerNotifier * self,
IndicatorPowerDevice * battery);
-void indicator_power_notifier_set_sound_player (IndicatorPowerNotifier * self,
- IndicatorPowerSoundPlayer * battery);
-
#define POWER_LEVEL_STR_OK "ok"
#define POWER_LEVEL_STR_LOW "low"
#define POWER_LEVEL_STR_VERY_LOW "very_low"