diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-02-07 15:03:56 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-02-07 15:04:25 +0000 |
commit | 88498b706a39bbe520f9591d8d52b54fb1f8e378 (patch) | |
tree | 5243eb3c97b8039d0ff43cd7121a632bbdb9d3bc /bus/test.c | |
parent | b816cb6e900073c6a6126687f2102dfd8e594e68 (diff) | |
parent | 3f4ed9def33c359142c340f28345755ca37663f2 (diff) | |
download | dbus-88498b706a39bbe520f9591d8d52b54fb1f8e378.tar.gz |
Merge branch 'socket-set-33337'
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33337
Diffstat (limited to 'bus/test.c')
-rw-r--r-- | bus/test.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -50,6 +50,13 @@ remove_client_watch (DBusWatch *watch, _dbus_loop_remove_watch (client_loop, watch); } +static void +toggle_client_watch (DBusWatch *watch, + void *data) +{ + _dbus_loop_toggle_watch (client_loop, watch); +} + static dbus_bool_t add_client_timeout (DBusTimeout *timeout, void *data) @@ -112,7 +119,7 @@ bus_setup_debug_client (DBusConnection *connection) if (!dbus_connection_set_watch_functions (connection, add_client_watch, remove_client_watch, - NULL, + toggle_client_watch, connection, NULL)) goto out; |