| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit b78a2ab980ca ("daemon: Stop passing UpDevice reference to the
daemon") fixed the fact that the signal passed a reference to the
daemon. This fix also implied that the UpDaemon object does not own a
reference to the device itself, instead relying on the UpDeviceList to
keep it alive.
With this change, there is no need to drop the extra reference when
clearing the device list, remove the code accordingly.
Reported-by: Alberts Muktupāvels <alberts.muktupavels@gmail.com>
|
|
|
|
| |
We can simply look it up from within the function.
|
|
|
|
| |
All those test functions were removed in 6ba8629 and are now unused.
|
|
|
|
|
|
|
|
|
|
| |
This makes it easier to find real memory leaks with valgrind. After
calling the up_backend_unplug functions, you cannot restart it with
up_backend_coldplug since the lists are cleared.
Tested with Linux only (not on *BSD; dummy compiles).
https://bugs.freedesktop.org/show_bug.cgi?id=82659
|
|
|
|
| |
Port from devkit-power-gobject/up-enum.h to libupower-glib/up-types.h
|
| |
|
| |
|
| |
|
|
ABI changes
|