summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-internals.h
diff options
context:
space:
mode:
authorOlivier Andrieu <oliv__a@users.sourceforge.net>2004-07-31 09:15:24 +0000
committerOlivier Andrieu <oliv__a@users.sourceforge.net>2004-07-31 09:15:24 +0000
commitfabef9f3992a6a14bf649bbde73ce3d86542764e (patch)
treea4be08b4c75f2f8193101a84b4072307f81a556e /dbus/dbus-internals.h
parent0f2cd8ba8e600a55cab538b195f9e6461172ee75 (diff)
* 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.
Diffstat (limited to 'dbus/dbus-internals.h')
-rw-r--r--dbus/dbus-internals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-internals.h b/dbus/dbus-internals.h
index 264d5f7c..0138fb30 100644
--- a/dbus/dbus-internals.h
+++ b/dbus/dbus-internals.h
@@ -215,7 +215,7 @@ const char* _dbus_type_to_string (int type);
const char* _dbus_header_field_to_string (int header_field);
extern const char _dbus_no_memory_message[];
-#define _DBUS_SET_OOM(error) dbus_set_error ((error), DBUS_ERROR_NO_MEMORY, _dbus_no_memory_message)
+#define _DBUS_SET_OOM(error) dbus_set_error_const ((error), DBUS_ERROR_NO_MEMORY, _dbus_no_memory_message)
#ifdef DBUS_BUILD_TESTS
/* Memory debugging */