diff options
author | raveit65 <[email protected]> | 2013-11-10 01:56:41 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2013-11-10 01:56:41 +0100 |
commit | cabc210f238dfb89d535d4169bcff884c2616ea3 (patch) | |
tree | a2cae6368036a6196bbfb83055fa4000b624e038 /battstat/battstat-upower.c | |
parent | f17654d853e603b1e4c6c22ffb1abbd6b364f4dc (diff) | |
download | mate-applets-cabc210f238dfb89d535d4169bcff884c2616ea3.tar.bz2 mate-applets-cabc210f238dfb89d535d4169bcff884c2616ea3.tar.xz |
upower: fix upower version
Diffstat (limited to 'battstat/battstat-upower.c')
-rw-r--r-- | battstat/battstat-upower.c | 2 |
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; |