summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-errors.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-29 22:57:13 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-29 22:57:13 +0000
commit410a80c43126376e9308a03a7cef108716018f5a (patch)
treeb4b738625725848c00f30c81dd6e5aad169e2c3b /dbus/dbus-errors.c
parentae759bff511cfbd28bdb668a532ba9169d05af2d (diff)
2003-04-29 Havoc Pennington <hp@redhat.com>
* glib/dbus-gmain.c: docs cleanups * dbus/dbus-types.h: add docs on int64 types * dbus/dbus-memory.c: fix docs to avoid putting private API in public API docs section
Diffstat (limited to 'dbus/dbus-errors.c')
-rw-r--r--dbus/dbus-errors.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/dbus/dbus-errors.c b/dbus/dbus-errors.c
index f7636287..3cf52363 100644
--- a/dbus/dbus-errors.c
+++ b/dbus/dbus-errors.c
@@ -39,7 +39,7 @@
*
* @code
* DBusError error;
- * _dbus_error_init (&error);
+ * dbus_error_init (&error);
* dbus_some_function (arg1, arg2, &error);
* if (dbus_error_is_set (&error))
* {
@@ -178,6 +178,8 @@ dbus_error_free (DBusError *error)
* message will be deduced from the name. If the error name is unknown
* to D-BUS the default message will be totally useless, though.
*
+ * @todo should be called dbus_error_set_const()
+ *
* @param error the error.
* @param name the error name (not copied!!!)
* @param message the error message (not copied!!!)
@@ -214,7 +216,7 @@ dbus_set_error_const (DBusError *error,
* src is reinitialized to an empty error. dest may not
* contain an existing error. If the destination is
* #NULL, just frees and reinits the source error.
- *
+ *
* @param src the source error
* @param dest the destination error or #NULL
*/
@@ -288,6 +290,8 @@ dbus_error_is_set (const DBusError *error)
* If no memory can be allocated for the error message,
* an out-of-memory error message will be set instead.
*
+ * @todo should be called dbus_error_set()
+ *
* @todo stdio.h shouldn't be included in this file,
* should write _dbus_string_append_printf instead
*