aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-09-26 15:04:23 +0100
committerRoss Burton <ross.burton@intel.com>2013-09-26 16:16:01 +0100
commit1a7304d6e94035fddcfed366204d77831086eb44 (patch)
tree6317f8de04df4f0988b950854c2be00ad5057f41
parentf3b437fa286192fe3f80322a1e94a605aa06846d (diff)
downloadmatchbox-panel-2-1a7304d6e94035fddcfed366204d77831086eb44.tar.gz
matchbox-panel-2-1a7304d6e94035fddcfed366204d77831086eb44.tar.bz2
matchbox-panel-2-1a7304d6e94035fddcfed366204d77831086eb44.zip
battery-apm: silently handle APM not being available
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--applets/battery/battery-apm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/applets/battery/battery-apm.c b/applets/battery/battery-apm.c
index 5467438..2f39cb6 100644
--- a/applets/battery/battery-apm.c
+++ b/applets/battery/battery-apm.c
@@ -10,8 +10,6 @@
int pm_support(void)
{
if (1 == apm_exists ()) {
- g_warning ("No APM support");
-
return 0;
}