Age | Commit message (Collapse) | Author | Files | Lines |
|
with required version bump to upower-0.99.8
we don't need them any more.
|
|
The previous code would have leaked all the UpDevice objects because no
free function was set on the returned GPtrArray.
With depending on upower-glib 0.99.8 get_devices() was deprecated and get_devices2() was introduced, we
can simply switch to get_devices2() which does set a free function on
the returned GPtrArray, stopping the leak.
Inspired from:
https://gitlab.gnome.org/GNOME/gnome-control-center/commit/c1210c5
see upower upstream:
https://gitlab.freedesktop.org/upower/upower/commit/cb1071b
|
|
|
|
This makes it possible to profile more accurately using systemtap
taken from:
https://git.gnome.org/browse/gnome-power-manager/commit/?id=fbb075b5
|
|
taken from:
https://git.gnome.org/browse/gnome-power-manager/commit/?id=93da9b4
|
|
https://git.gnome.org/browse/gnome-power-manager/commit/?id=2828891
https://git.gnome.org/browse/gnome-power-manager/commit/?id=9b4825b
|
|
taken from:
https://git.gnome.org/browse/gnome-power-manager/commit/?id=f706110
|
|
|
|
Closes https://github.com/mate-desktop/mate-power-manager/pull/126
|
|
|
|
|
|
fix mate-power-manager for current upower versions
|
|
the database is outdated several years now and the whole interface is
removed from current UPower release anyway, so let's get rid of it in
m-p-m, too
|
|
|
|
|
|
fix for bug #617529 originally by Richard Hughes)
|
|
|