summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2013-11-10 01:56:41 +0100
committerStefano Karapetsas <[email protected]>2014-01-01 11:44:24 +0100
commit98dfd949e9209eefc0722fb232761f01b4fe2d7e (patch)
tree9d78927227de5d39649e82abe662ce9047cf7d78
parent631065f0c873ad3964b638ca5678ceb3387fd06a (diff)
downloadmate-applets-98dfd949e9209eefc0722fb232761f01b4fe2d7e.tar.bz2
mate-applets-98dfd949e9209eefc0722fb232761f01b4fe2d7e.tar.xz
upower: fix upower version
-rw-r--r--battstat/battstat-upower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/battstat/battstat-upower.c b/battstat/battstat-upower.c
index 55929491..f10e6fc4 100644
--- a/battstat/battstat-upower.c
+++ b/battstat/battstat-upower.c
@@ -86,7 +86,7 @@ battstat_upower_initialise (void (*callback) (void))
GCancellable *cancellable = g_cancellable_new();
GError *gerror;
-#if !UP_CHECK_VERSION(0, 9, 99)
+#if !UP_CHECK_VERSION(0, 99, 0)
if (! up_client_enumerate_devices_sync( upc, cancellable, &gerror ) ) {
sprintf(error_str, "Unable to enumerate upower devices: %s\n", gerror->message);
goto error_shutdownclient;