summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-transport.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2007-06-18 16:24:03 +0000
committerHavoc Pennington <hp@redhat.com>2007-06-18 16:24:03 +0000
commit98f19852078cf03f8b50a93d49d83b85c0dd400b (patch)
tree908d078ac605cd6f27c2d1e104c9589b31dce01a /dbus/dbus-transport.c
parentfb93e1faa875d6b1ca48b0e792a9b79aa7cbc517 (diff)
2007-06-18 Havoc Pennington <hp@redhat.com>
* dbus/dbus-watch.c (dbus_watch_get_socket) (dbus_watch_get_unix_fd): new API to match DBusConnection (dbus_watch_get_fd): deprecate this Throughout: just s/dbus_watch_get_fd/dbus_watch_get_socket/g for now since all the transports use sockets anyway
Diffstat (limited to 'dbus/dbus-transport.c')
-rw-r--r--dbus/dbus-transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-transport.c b/dbus/dbus-transport.c
index 0e27dd13..3edef937 100644
--- a/dbus/dbus-transport.c
+++ b/dbus/dbus-transport.c
@@ -812,7 +812,7 @@ _dbus_transport_handle_watch (DBusTransport *transport,
if (transport->disconnected)
return TRUE;
- if (dbus_watch_get_fd (watch) < 0)
+ if (dbus_watch_get_socket (watch) < 0)
{
_dbus_warn_check_failed ("Tried to handle an invalidated watch; this watch should have been removed\n");
return TRUE;