summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-errors.c')
-rw-r--r--dbus/dbus-errors.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/dbus/dbus-errors.c b/dbus/dbus-errors.c
index 9c178d84..3df58da0 100644
--- a/dbus/dbus-errors.c
+++ b/dbus/dbus-errors.c
@@ -126,6 +126,10 @@ dbus_result_to_string (DBusResultCode code)
/**
* Initializes a DBusError structure.
+ *
+ * @todo calling dbus_error_init() in here is no good,
+ * for the same reason a GError* has to be set to NULL
+ * before you pass it in.
*
* @param error the DBusError.
*/
@@ -166,6 +170,10 @@ dbus_error_free (DBusError *error)
* Assigns an error name and message to a DBusError.
* Does nothing if error is #NULL.
*
+ * @todo calling dbus_error_init() in here is no good,
+ * for the same reason a GError* has to be set to NULL
+ * before you pass it in.
+ *
* @param error the error.
* @param name the error name (not copied!!!)
* @param message the error message (not copied!!!)