Rename DBUS_ERROR_INITIALIZER to DBUS_ERROR_INIT per Havoc's review

This commit is contained in:
Simon McVittie 2007-10-10 11:39:22 +01:00
parent 262c02a9fa
commit a18ebe81bd
2 changed files with 3 additions and 3 deletions

View file

@ -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

View 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);