diff options
author | Joe Shaw <joeshaw@novell.com> | 2005-01-11 19:31:56 +0000 |
---|---|---|
committer | Joe Shaw <joeshaw@novell.com> | 2005-01-11 19:31:56 +0000 |
commit | ac4d2cb4642cfb2f56b260b1892d092022efc257 (patch) | |
tree | d1b4a106eefd98f802ebefeb4d3b8db25cbe112e /dbus/dbus-connection.c | |
parent | 72c3ed063016e0fb288bd916651d09e2d6885ed0 (diff) |
2005-01-11 Joe Shaw <joeshaw@novell.com>
Patch from Timo Teräs <ext-timo.teras@nokia.com>
* dbus/dbus-connection.c
(_dbus_connection_queue_received_message_link): Call
_dbus_connection_remove_timeout() instead of the _locked()
variant, since it's always called from
_dbus_connection_handle_watch(), which handles the locking.
Removed the _locked() variant since it's no longer used.
Diffstat (limited to 'dbus/dbus-connection.c')
-rw-r--r-- | dbus/dbus-connection.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index e8c6a52b..41ca0a77 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -224,8 +224,6 @@ struct DBusConnection #endif }; -static void _dbus_connection_remove_timeout_locked (DBusConnection *connection, - DBusTimeout *timeout); static DBusDispatchStatus _dbus_connection_get_dispatch_status_unlocked (DBusConnection *connection); static void _dbus_connection_update_dispatch_status_and_unlock (DBusConnection *connection, DBusDispatchStatus new_status); @@ -349,8 +347,8 @@ _dbus_connection_queue_received_message_link (DBusConnection *connection, if (pending != NULL) { if (pending->timeout_added) - _dbus_connection_remove_timeout_locked (connection, - pending->timeout); + _dbus_connection_remove_timeout (connection, + pending->timeout); pending->timeout_added = FALSE; } @@ -594,15 +592,6 @@ _dbus_connection_remove_timeout (DBusConnection *connection, timeout); } -static void -_dbus_connection_remove_timeout_locked (DBusConnection *connection, - DBusTimeout *timeout) -{ - CONNECTION_LOCK (connection); - _dbus_connection_remove_timeout (connection, timeout); - CONNECTION_UNLOCK (connection); -} - /** * Toggles a timeout and notifies app via connection's * DBusTimeoutToggledFunction if available. It's an error to call this |