ssuominen    14/06/19 19:16:29

  Added:                wmbattery-2.43-upower-0.99.patch
  Log:
  Version bump; patch for excluding obsolete UPower API.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
4868F14D)

Revision  Changes    Path
1.1                  
x11-plugins/wmbattery/files/wmbattery-2.43-upower-0.99.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmbattery/files/wmbattery-2.43-upower-0.99.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmbattery/files/wmbattery-2.43-upower-0.99.patch?rev=1.1&content-type=text/plain

Index: wmbattery-2.43-upower-0.99.patch
===================================================================
--- upower.c
+++ upower.c
@@ -62,8 +62,10 @@
                return 0;
        }
 
+       #if !UP_CHECK_VERSION(0, 9, 99)
        /* Allow a battery that was not present before to appear. */
        up_client_enumerate_devices_sync(up, NULL, NULL);
+       #endif
 
        devices = up_client_get_devices(up);
 




Reply via email to