diff options
Diffstat (limited to 'bus/test.c')
-rw-r--r-- | bus/test.c | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -70,23 +70,13 @@ remove_client_watch (DBusWatch *watch, watch, client_watch_callback, connection); } -static void -client_timeout_callback (DBusTimeout *timeout, - void *data) -{ - DBusConnection *connection = data; - - /* can return FALSE on OOM but we just let it fire again later */ - dbus_timeout_handle (timeout); -} - static dbus_bool_t add_client_timeout (DBusTimeout *timeout, void *data) { DBusConnection *connection = data; - return _dbus_loop_add_timeout (client_loop, timeout, client_timeout_callback, connection, NULL); + return _dbus_loop_add_timeout (client_loop, timeout); } static void @@ -95,7 +85,7 @@ remove_client_timeout (DBusTimeout *timeout, { DBusConnection *connection = data; - _dbus_loop_remove_timeout (client_loop, timeout, client_timeout_callback, connection); + _dbus_loop_remove_timeout (client_loop, timeout); } static DBusHandlerResult |