Skip to content

Commit

Permalink
Remove not implemented toggle_watch from callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Haefner committed Jan 28, 2021
1 parent 1114c9d commit ff68b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ struct Dispatcher::Private

void init(DBusConnection* conn)
{
dbus_connection_set_watch_functions(conn, &add_watch, &remove_watch, &toggle_watch, this, nullptr);
dbus_connection_set_watch_functions(conn, &add_watch, &remove_watch, nullptr, this, nullptr);
dbus_connection_set_timeout_functions (conn, &add_timeout, &remove_timeout, &toggle_timeout, this, nullptr);
}

Expand Down

0 comments on commit ff68b7a

Please sign in to comment.