From fabef9f3992a6a14bf649bbde73ce3d86542764e Mon Sep 17 00:00:00 2001 From: Olivier Andrieu Date: Sat, 31 Jul 2004 09:15:24 +0000 Subject: * dbus/dbus-internals.h (_DBUS_SET_OOM): * bus/utils.h (BUS_SET_OOM): use dbus_error_set_const instead of dbus_error_set. * bus/dispatch.c (check_send_exit_to_service): fix the test case, broken by the change in the _SET_OOM macros. --- dbus/dbus-errors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbus/dbus-errors.c') diff --git a/dbus/dbus-errors.c b/dbus/dbus-errors.c index db7b5a86..ea38df9a 100644 --- a/dbus/dbus-errors.c +++ b/dbus/dbus-errors.c @@ -368,7 +368,7 @@ dbus_set_error (DBusError *error, return; nomem: - dbus_set_error_const (error, DBUS_ERROR_NO_MEMORY, NULL); + _DBUS_SET_OOM (error); } /** @} */ /* End public API */ -- cgit