diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-24 21:26:25 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-24 21:26:25 +0000 |
commit | 1820f3bd0a5a4b0ab14dbcc80ba1b68d2c48e01d (patch) | |
tree | e52ad1013416c233db9664fc63041cc106e9ac66 /dbus/dbus-connection.c | |
parent | 0ed8f3f3f32d9dfb965b88cda5735f4e61978590 (diff) |
2003-04-24 Havoc Pennington <hp@redhat.com>
* bus/dispatch.c: somehow missed some name_is
* dbus/dbus-timeout.c (_dbus_timeout_set_enabled)
(_dbus_timeout_set_interval): new
* bus/connection.c (bus_connections_setup_connection): record time
when each connection is first set up, and expire them after the
auth timeout passes.
Diffstat (limited to 'dbus/dbus-connection.c')
-rw-r--r-- | dbus/dbus-connection.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index 4bb0514f..9843d288 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -2394,12 +2394,14 @@ dbus_connection_set_watch_functions (DBusConnection *connection, * allocation. With Qt, QTimer::start() and QTimer::stop() can be used * to enable and disable. The toggled function may be NULL if a main * loop re-queries dbus_timeout_get_enabled() every time anyway. + * Whenever a timeout is toggled, its interval may change. * * The DBusTimeout can be queried for the timer interval using - * dbus_timeout_get_interval(). dbus_timeout_handle() should - * be called repeatedly, each time the interval elapses, starting - * after it has elapsed once. The timeout stops firing when - * it is removed with the given remove_function. + * dbus_timeout_get_interval(). dbus_timeout_handle() should be called + * repeatedly, each time the interval elapses, starting after it has + * elapsed once. The timeout stops firing when it is removed with the + * given remove_function. The timer interval may change whenever the + * timeout is added, removed, or toggled. * * @param connection the connection. * @param add_function function to add a timeout. |