mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
spa: bluez: add cancel_and_unref() dbus helper
This function cancels and unrefs a DBusPendingCall and resets the pointer to NULL.
This commit is contained in:
parent
1025d5c600
commit
183270f53c
4 changed files with 39 additions and 53 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <errno.h>
|
||||
#include <spa/utils/string.h>
|
||||
|
||||
#include "dbus-helpers.h"
|
||||
#include "upower.h"
|
||||
|
||||
#define UPOWER_SERVICE "org.freedesktop.UPower"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue