diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-02-01 10:53:07 -0600 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-28 10:17:14 +0200 |
commit | f4d66118c3a845892b32495efec3d6473e17baca (patch) | |
tree | fa61cb312c85ce9133397fc4c0c71e6494c8dbcc /src/notifier.h | |
parent | b9068926a006bfcae447d3d14ef9ef50af2388ee (diff) | |
download | ayatana-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.h | 6 |
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" |