* add `is_right_type`, `is_right_protocol` to reduce duplication
* search in GList using `g_list_find_custom` instead of manual iterations
* reduce scope of some variables
Testing Done:
Compiled.
Reviewed at https://reviews.imfreedom.org/r/645/
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
msgid""
msgstr""
"Project-Id-Version: Pidgin\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-12 00:20-0600\n"
"PO-Revision-Date: 2017-09-19 19:20+0000\n"
"Last-Translator: Richard Laager <rlaager@wiktel.com>\n"