summaryrefslogtreecommitdiff
path: root/src/up-device-list.h
Commit message (Collapse)AuthorAgeFilesLines
* daemon: Fix reference counting at daemon shutdownBenjamin Berg2022-05-121-2/+1
| | | | | | | | | | | | | 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>
* device-list: Remove unnecessary native argumentBenjamin Berg2022-04-201-3/+2
| | | | We can simply look it up from within the function.
* daemon: Remove unused test declarationsBastien Nocera2016-07-081-1/+0
| | | | All those test functions were removed in 6ba8629 and are now unused.
* daemon: release resources at shutdownPeter Wu2014-11-261-0/+2
| | | | | | | | | | 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
* devkit-power-gobject/up-enum.h be goneMichael Biebl2010-02-061-1/+1
| | | | Port from devkit-power-gobject/up-enum.h to libupower-glib/up-types.h
* Update the Free Software Foundation addressRichard Hughes2010-01-271-1/+1
|
* trivial: rename some internal defines for the upower moveRichard Hughes2010-01-181-1/+2
|
* trivial: DkpDevice -> UpDevice (no ABI or API break)Richard Hughes2010-01-181-22/+22
|
* trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ↵Richard Hughes2010-01-181-0/+68
ABI changes