diff options
author | Havoc Pennington <hp@redhat.com> | 2005-02-21 04:09:40 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2005-02-21 04:09:40 +0000 |
commit | 209a5011f7b5ebf9a5ed52c1cc53378f7603ad51 (patch) | |
tree | f99dd138b4512ff9c1b87477a850c21d5f952925 /dbus/dbus-server-protected.h | |
parent | 4c3d2abe274dc970d65688137fbd3151d53d3f7c (diff) |
2005-02-20 Havoc Pennington <hp@redhat.com>
Fix bugs reported by Daniel P. Berrange
* dbus/dbus-server.c (_dbus_server_unref_unlocked): new function
(protected_change_watch): new function
(_dbus_server_toggle_watch, _dbus_server_remove_watch)
(_dbus_server_add_watch): change to work like the
dbus-connection.c equivalents; like those, probably kind of
busted, but should at least mostly work for now
(dbus_server_disconnect): drop the lock if we were already
disconnected, patch from Daniel P. Berrange
* dbus/dbus-server.c (_dbus_server_toggle_timeout)
(_dbus_server_remove_timeout, _dbus_server_add_timeout): all the
same stuff
* doc/TODO: todo about unscrewing this mess
Diffstat (limited to 'dbus/dbus-server-protected.h')
-rw-r--r-- | dbus/dbus-server-protected.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/dbus-server-protected.h b/dbus/dbus-server-protected.h index c8aa8601..5862c6c2 100644 --- a/dbus/dbus-server-protected.h +++ b/dbus/dbus-server-protected.h @@ -102,6 +102,7 @@ void _dbus_server_toggle_timeout (DBusServer *server, dbus_bool_t enabled); void _dbus_server_ref_unlocked (DBusServer *server); +void _dbus_server_unref_unlocked (DBusServer *server); #ifdef DBUS_DISABLE_CHECKS #define TOOK_LOCK_CHECK(server) |