comparison doc/account-signals.dox @ 21373:cbf197042bad

Add the old error to the account-error-changed signal.
author Will Thompson <will.thompson@collabora.co.uk>
date Sun, 28 Oct 2007 13:01:45 +0000
parents 8858a42ca237
children 71c1f2da4ff2
comparison
equal deleted inserted replaced
21372:b6b69faafbe3 21373:cbf197042bad
142 @since 2.3.0 142 @since 2.3.0
143 @endsignaldef 143 @endsignaldef
144 144
145 @signaldef account-error-changed 145 @signaldef account-error-changed
146 @signalproto 146 @signalproto
147 void (*account_error_changed)(PurpleAccount *account, const PurpleAccountCurrentError *current_error); 147 void (*account_error_changed)(PurpleAccount *account, const PurpleAccountCurrentError *old_error, const PurpleAccountCurrentError *current_error);
148 @endsignalproto 148 @endsignalproto
149 @signaldesc 149 @signaldesc
150 Emitted when @a account's error changes. 150 Emitted when @a account's error changes.
151 @param account The account whose error has changed. 151 @param account The account whose error has changed.
152 @param current_error The account's current error, or @c NULL if it has no error. 152 @param old_error The account's previous error, or @c NULL if it had no
153 error.
154 @param new_error The account's new error, or @c NULL if it has no error.
153 @see purple_account_get_current_error() 155 @see purple_account_get_current_error()
154 @since 2.3.0 156 @since 2.3.0
155 @endsignaldef 157 @endsignaldef
156 158
157 */ 159 */