grim/pidgin

zephyr_login cleanups

2020-12-20, Arkadiy Illarionov
80764d18e588
zephyr_login cleanups

* Replace redundant purple_connection_get_account and
purple_account_get_connection with existing variables
* Merge getting and normalizing exposure to one function
* Replace redundant comparisons with check_notify variable
* Drop some type casts

Testing Done:
Compile.

Reviewed at https://reviews.imfreedom.org/r/298/
REVIEWBOARD_URL = "https://reviews.imfreedom.org/"
REPOSITORY = "pidgin/pidgin"
REPOSITORY_TYPE = "mercurial"
BRANCH = "default"
LAND_DEST_BRANCH = "default"
LAND_PUSH = False