2003-03-13 Havoc Pennington <hp@redhat.com>
authorHavoc Pennington <hp@redhat.com>
Fri, 14 Mar 2003 01:27:58 +0000 (01:27 +0000)
committerHavoc Pennington <hp@redhat.com>
Fri, 14 Mar 2003 01:27:58 +0000 (01:27 +0000)
commit3bea935316ff048e68dea6a26c2e8e9fd314477f
tree498e62121c89d78693070d04e6bc6a6462efe2a7
parent81c30364c291045d556c88f6818033104e627b6e
2003-03-13  Havoc Pennington  <hp@redhat.com>

* dbus/dbus-timeout.c (_dbus_timeout_list_set_functions): handle
out of memory

* dbus/dbus-watch.c (_dbus_watch_list_set_functions): handle out
of memory

* dbus/dbus-connection.h: Make AddWatchFunction and
AddTimeoutFunction return a bool so they can fail on out-of-memory

* bus/bus.c (bus_context_new): set up timeout handlers

* bus/connection.c (bus_connections_setup_connection): set up
timeout handlers

* glib/dbus-gmain.c: adapt to the fact that set_functions stuff
can fail

* bus/bus.c (bus_context_new): adapt to changes

* bus/connection.c: adapt to changes

* test/watch.c: adapt to DBusWatch changes

* bus/dispatch.c (bus_dispatch_test): started adding this but
didn't finish
19 files changed:
ChangeLog
bus/Makefile.am
bus/bus.c
bus/connection.c
bus/dispatch.c
bus/loop.c
bus/loop.h
bus/test-main.c
bus/test.h
dbus/dbus-connection.c
dbus/dbus-connection.h
dbus/dbus-server.c
dbus/dbus-server.h
dbus/dbus-timeout.c
dbus/dbus-timeout.h
dbus/dbus-watch.c
dbus/dbus-watch.h
glib/dbus-gmain.c
test/watch.c