Mercurial > pidgin
comparison src/gtkaccount.c @ 7207:439b83f4a833
[gaim-migrate @ 7776]
null checking is good
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 09 Oct 2003 16:11:40 +0000 |
parents | 819905ce7bc0 |
children | e5a03ffc6c26 |
comparison
equal
deleted
inserted
replaced
7206:0b4428f327b5 | 7207:439b83f4a833 |
---|---|
582 if (gaim_account_get_buddy_icon(dialog->account) != NULL) | 582 if (gaim_account_get_buddy_icon(dialog->account) != NULL) |
583 gtk_entry_set_text(GTK_ENTRY(dialog->buddy_icon_entry), | 583 gtk_entry_set_text(GTK_ENTRY(dialog->buddy_icon_entry), |
584 gaim_account_get_buddy_icon(dialog->account)); | 584 gaim_account_get_buddy_icon(dialog->account)); |
585 } | 585 } |
586 | 586 |
587 if (!(dialog->prpl_info->options & OPT_PROTO_MAIL_CHECK) && | 587 if (!dialog->prpl_info || |
588 !(dialog->prpl_info->options & OPT_PROTO_BUDDY_ICON)) { | 588 (!(dialog->prpl_info->options & OPT_PROTO_MAIL_CHECK) && |
589 !(dialog->prpl_info->options & OPT_PROTO_BUDDY_ICON))) { | |
589 | 590 |
590 /* Nothing to see :( aww. */ | 591 /* Nothing to see :( aww. */ |
591 gtk_widget_hide(dialog->user_frame); | 592 gtk_widget_hide(dialog->user_frame); |
592 } | 593 } |
593 } | 594 } |