From: Simon McVittie Date: Wed, 10 Oct 2007 10:39:22 +0000 (+0100) Subject: Rename DBUS_ERROR_INITIALIZER to DBUS_ERROR_INIT per Havoc's review X-Git-Tag: dbus-1.1.3~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a18ebe81bdcfcc95d721e70529d6791fc16d2483;p=thirdparty%2Fdbus.git Rename DBUS_ERROR_INITIALIZER to DBUS_ERROR_INIT per Havoc's review --- diff --git a/dbus/dbus-errors.c b/dbus/dbus-errors.c index 30bf6a1fb..9629c682d 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 ee1700713..0a480d8c1 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);