Mercurial > pidgin.yaz
comparison libgaim/account.h @ 14643:4df2827fc2eb
[gaim-migrate @ 17389]
Fix sf bug #1469293
Checking if a va_list != NULL is not valid because va_list is not a pointer
on some platforms. Conveniently the check wasn't necessary.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 28 Sep 2006 07:01:47 +0000 |
parents | c61d932c2a52 |
children | 8c5c4d7d53a5 |
comparison
equal
deleted
inserted
replaced
14642:426383e5b45d | 14643:4df2827fc2eb |
---|---|
285 */ | 285 */ |
286 void gaim_account_set_status_types(GaimAccount *account, GList *status_types); | 286 void gaim_account_set_status_types(GaimAccount *account, GList *status_types); |
287 | 287 |
288 /** | 288 /** |
289 * Activates or deactivates a status. All changes to the statuses of | 289 * Activates or deactivates a status. All changes to the statuses of |
290 * an account go through this function or gaim_account_set_status_vargs | 290 * an account go through this function or gaim_account_set_status_list. |
291 * or gaim_account_set_status_list. | |
292 * | 291 * |
293 * Only independent statuses can be deactivated with this. To deactivate | 292 * Only independent statuses can be deactivated with this. To deactivate |
294 * an exclusive status, activate a different (and exclusive?) status. | 293 * an exclusive status, activate a different (and exclusive?) status. |
295 * | 294 * |
296 * @param account The account. | 295 * @param account The account. |
297 * @param status_id The ID of the status. | 296 * @param status_id The ID of the status. |
298 * @param active The active state. | 297 * @param active The active state. |
299 * @param ... Optional NULL-terminated attributes passed for the | 298 * @param ... Pairs of attributes for the new status passed in |
300 * new status, in an id, value pair. | 299 * as a NULL-terminated list of id/value pairs. |
301 */ | 300 */ |
302 void gaim_account_set_status(GaimAccount *account, const char *status_id, | 301 void gaim_account_set_status(GaimAccount *account, const char *status_id, |
303 gboolean active, ...); | 302 gboolean active, ...); |
304 | 303 |
305 | 304 |
306 /** | 305 /** |
307 * Activates or deactivates a status. All changes to the statuses of | 306 * Activates or deactivates a status. All changes to the statuses of |
308 * an account go through this function or gaim_account_set_status or | 307 * an account go through this function or gaim_account_set_status. |
309 * gaim_account_set_status_list. | |
310 * | |
311 * Only independent statuses can be deactivated with this. To deactivate | |
312 * an exclusive status, activate a different (and exclusive?) status. | |
313 * | |
314 * @param account The account. | |
315 * @param status_id The ID of the status. | |
316 * @param active The active state. | |
317 * @param args The va_list of attributes. | |
318 */ | |
319 void gaim_account_set_status_vargs(GaimAccount *account, | |
320 const char *status_id, | |
321 gboolean active, va_list args); | |
322 | |
323 /** | |
324 * Activates or deactivates a status. All changes to the statuses of | |
325 * an account go through this function or gaim_account_set_status or | |
326 * gaim_account_set_status_vargs. | |
327 * | 308 * |
328 * Only independent statuses can be deactivated with this. To deactivate | 309 * Only independent statuses can be deactivated with this. To deactivate |
329 * an exclusive status, activate a different (and exclusive?) status. | 310 * an exclusive status, activate a different (and exclusive?) status. |
330 * | 311 * |
331 * @param account The account. | 312 * @param account The account. |