Rename DBUS_ERROR_INITIALIZER to DBUS_ERROR_INIT per Havoc's review
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 10 Oct 2007 10:39:22 +0000 (11:39 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 11 Oct 2007 09:35:35 +0000 (10:35 +0100)
dbus/dbus-errors.c
dbus/dbus-errors.h

index 30bf6a1..9629c68 100644 (file)
  */
 
 /**
- * @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
index ee17007..0a480d8 100644 (file)
@@ -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);