diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-09-07 23:56:10 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-09-07 23:56:10 -0500 |
commit | d0fc63394c52933c8380fe56b9ea2aebe7791f19 (patch) | |
tree | cd71996d23142816c9ab4518233f4be5c76210ce /src | |
parent | 059246d136ed8c24c5e78e6a966bf2dfc945fe4e (diff) | |
download | ayatana-indicator-power-d0fc63394c52933c8380fe56b9ea2aebe7791f19.tar.gz ayatana-indicator-power-d0fc63394c52933c8380fe56b9ea2aebe7791f19.tar.bz2 ayatana-indicator-power-d0fc63394c52933c8380fe56b9ea2aebe7791f19.zip |
silence warnings generated by clang -Weverything
Diffstat (limited to 'src')
-rw-r--r-- | src/notifier.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/notifier.c b/src/notifier.c index 81cd6f1..9835d4f 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -25,8 +25,6 @@ #include <glib/gi18n.h> -#define HINT_INTERACTIVE "x-canonical-switch-to-application" - typedef enum { POWER_LEVEL_CRITICAL, @@ -99,7 +97,7 @@ power_level_to_dbus_string (const PowerLevel power_level) } } -PowerLevel +static PowerLevel get_battery_power_level (IndicatorPowerDevice * battery) { static const double percent_critical = 2.0; @@ -178,7 +176,6 @@ notification_show(IndicatorPowerNotifier * self) body = g_strdup_printf(_("%.0f%% charge remaining"), pct); nn = notify_notification_new(_("Battery Low"), body, NULL); g_free (body); - /*notify_notification_set_hint(nn, HINT_INTERACTIVE, g_variant_new_boolean(TRUE));*/ /* if we can show it, keep it */ error = NULL; |