Mercurial > pidgin.yaz
comparison src/prpl.c @ 4491:3196d9044a45
[gaim-migrate @ 4766]
aim_user is dead. long live gaim_account.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 31 Jan 2003 13:03:47 +0000 |
parents | 5fb47ec9bfe4 |
children | 53ce3af93edb |
comparison
equal
deleted
inserted
replaced
4490:70b892694e0b | 4491:3196d9044a45 |
---|---|
465 GtkWidget *close; | 465 GtkWidget *close; |
466 | 466 |
467 struct mail_notify *mn; | 467 struct mail_notify *mn; |
468 char buf[2048]; | 468 char buf[2048]; |
469 | 469 |
470 if (!(gc->user->options & OPT_USR_MAIL_CHECK)) | 470 if (!(gc->account->options & OPT_ACCT_MAIL_CHECK)) |
471 return; | 471 return; |
472 | 472 |
473 if (!(mn = find_mail_notify(gc))) { | 473 if (!(mn = find_mail_notify(gc))) { |
474 mn = g_new0(struct mail_notify, 1); | 474 mn = g_new0(struct mail_notify, 1); |
475 mn->gc = gc; | 475 mn->gc = gc; |
649 void show_got_added(struct gaim_connection *gc, const char *id, | 649 void show_got_added(struct gaim_connection *gc, const char *id, |
650 const char *who, const char *alias, const char *msg) | 650 const char *who, const char *alias, const char *msg) |
651 { | 651 { |
652 char buf[BUF_LONG]; | 652 char buf[BUF_LONG]; |
653 struct got_add *ga = g_new0(struct got_add, 1); | 653 struct got_add *ga = g_new0(struct got_add, 1); |
654 struct buddy *b = find_buddy(gc->user, who); | 654 struct buddy *b = find_buddy(gc->account, who); |
655 | 655 |
656 ga->gc = gc; | 656 ga->gc = gc; |
657 ga->who = g_strdup(who); | 657 ga->who = g_strdup(who); |
658 ga->alias = alias ? g_strdup(alias) : NULL; | 658 ga->alias = alias ? g_strdup(alias) : NULL; |
659 | 659 |