From 3bea935316ff048e68dea6a26c2e8e9fd314477f Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Fri, 14 Mar 2003 01:27:58 +0000 Subject: 2003-03-13 Havoc Pennington * 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 --- bus/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bus/test.h') diff --git a/bus/test.h b/bus/test.h index 2d39ac9f..82c0c43e 100644 --- a/bus/test.h +++ b/bus/test.h @@ -31,7 +31,7 @@ #include #include -dbus_bool_t bus_test_foo (const DBusString *test_data_dir); +dbus_bool_t bus_dispatch_test (const DBusString *test_data_dir); #endif -- cgit v1.2.3