summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'dbus')
-rw-r--r--dbus/dbus-errors.c4
-rw-r--r--dbus/dbus-errors.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/dbus/dbus-errors.c b/dbus/dbus-errors.c
index 30bf6a1f..9629c682 100644
--- a/dbus/dbus-errors.c
+++ b/dbus/dbus-errors.c
@@ -36,13 +36,13 @@
*/
/**
- * @def DBUS_ERROR_INITIALIZER
+ * @def DBUS_ERROR_INIT
*
* Expands to a suitable initializer for a DBusError on the stack.
* Declaring a DBusError with:
*
* @code
- * DBusError error = DBUS_ERROR_INITIALIZER;
+ * DBusError error = DBUS_ERROR_INIT;
*
* do_things_with (&error);
* @endcode
diff --git a/dbus/dbus-errors.h b/dbus/dbus-errors.h
index ee170071..0a480d8c 100644
--- a/dbus/dbus-errors.h
+++ b/dbus/dbus-errors.h
@@ -58,7 +58,7 @@ struct DBusError
void *padding1; /**< placeholder */
};
-#define DBUS_ERROR_INITIALIZER { NULL, NULL, 0, 0, 0, 0, 0, NULL }
+#define DBUS_ERROR_INIT { NULL, NULL, TRUE, 0, 0, 0, 0, NULL }
void dbus_error_init (DBusError *error);
void dbus_error_free (DBusError *error);