Correctly initialize DBus connection slot for managing DBus signals.
[GB.DBUS] * BUG: Correctly initialize DBus connection slot for managing DBus signals.
This commit is contained in:
parent
06809b9426
commit
4d9579f217
1 changed files with 1 additions and 1 deletions
|
@ -1276,7 +1276,7 @@ bool DBUS_watch(DBusConnection *connection, bool on)
|
|||
{
|
||||
intptr_t count;
|
||||
int socket;
|
||||
static dbus_int32_t slot;
|
||||
static dbus_int32_t slot = -1;
|
||||
|
||||
if (!dbus_connection_allocate_data_slot(&slot))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue