summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-10 11:39:22 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-11 10:35:35 +0100
commita18ebe81bdcfcc95d721e70529d6791fc16d2483 (patch)
tree563b2bc1f6b51ceca5c807d994fe7dbb839a8bd8
parent262c02a9facebc8592fa60406d8971b1837725f5 (diff)
Rename DBUS_ERROR_INITIALIZER to DBUS_ERROR_INIT per Havoc's review
-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);