Mercurial > pidgin.yaz
comparison pidgin/gtkaccount.c @ 19239:829b00936eef
propagate from branch 'im.pidgin.pidgin' (head ee3cab184ee92cf36b4f36013402605653820416)
to branch 'im.pidgin.soc.2007.msimprpl' (head 9bcb047516948fbfd4148f735e07e6ea2d96e164)
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Mon, 13 Aug 2007 03:58:49 +0000 |
parents | 7a594763c229 |
children | 8ce97365b418 e42b22d0f564 |
comparison
equal
deleted
inserted
replaced
18915:bfc52862d864 | 19239:829b00936eef |
---|---|
2544 g_free(aa->alias); | 2544 g_free(aa->alias); |
2545 g_free(aa); | 2545 g_free(aa); |
2546 } | 2546 } |
2547 | 2547 |
2548 static void * | 2548 static void * |
2549 pidgin_accounts_request_authorization(PurpleAccount *account, const char *remote_user, | 2549 pidgin_accounts_request_authorization(PurpleAccount *account, |
2550 const char *id, const char *alias, const char *message, gboolean on_list, | 2550 const char *remote_user, |
2551 GCallback auth_cb, GCallback deny_cb, void *user_data) | 2551 const char *id, |
2552 const char *alias, | |
2553 const char *message, | |
2554 gboolean on_list, | |
2555 PurpleAccountRequestAuthorizationCb auth_cb, | |
2556 PurpleAccountRequestAuthorizationCb deny_cb, | |
2557 void *user_data) | |
2552 { | 2558 { |
2553 char *buffer; | 2559 char *buffer; |
2554 PurpleConnection *gc; | 2560 PurpleConnection *gc; |
2555 GtkWidget *alert; | 2561 GtkWidget *alert; |
2556 | 2562 |
2572 (message != NULL ? message : "")); | 2578 (message != NULL ? message : "")); |
2573 | 2579 |
2574 | 2580 |
2575 if (!on_list) { | 2581 if (!on_list) { |
2576 struct auth_and_add *aa = g_new0(struct auth_and_add, 1); | 2582 struct auth_and_add *aa = g_new0(struct auth_and_add, 1); |
2577 aa->auth_cb = (PurpleAccountRequestAuthorizationCb)auth_cb; | 2583 aa->auth_cb = auth_cb; |
2578 aa->deny_cb = (PurpleAccountRequestAuthorizationCb)deny_cb; | 2584 aa->deny_cb = deny_cb; |
2579 aa->data = user_data; | 2585 aa->data = user_data; |
2580 aa->username = g_strdup(remote_user); | 2586 aa->username = g_strdup(remote_user); |
2581 aa->alias = g_strdup(alias); | 2587 aa->alias = g_strdup(alias); |
2582 aa->account = account; | 2588 aa->account = account; |
2583 alert = pidgin_make_mini_dialog(gc, PIDGIN_STOCK_DIALOG_QUESTION, | 2589 alert = pidgin_make_mini_dialog(gc, PIDGIN_STOCK_DIALOG_QUESTION, |