DBus: add a reference to the connection

Fixed bug #6712
This commit is contained in:
Sylvain Becker
2022-12-14 17:41:35 +01:00
committed by GitHub
parent e0ee9fa80c
commit 02493579b5
3 changed files with 5 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ typedef struct SDL_DBusContext
dbus_bool_t (*connection_send)(DBusConnection *, DBusMessage *, dbus_uint32_t *);
DBusMessage *(*connection_send_with_reply_and_block)(DBusConnection *, DBusMessage *, int, DBusError *);
void (*connection_close)(DBusConnection *);
void (*connection_ref)(DBusConnection *);
void (*connection_unref)(DBusConnection *);
void (*connection_flush)(DBusConnection *);
dbus_bool_t (*connection_read_write)(DBusConnection *, int);