Setting the validator triggers the field's `valid` property notification, which triggers the group to refresh its validity, which fetches the `valid` property and runs the validator.
But the validator depends on the account field which hasn't been created yet, which causes a type-check warning.
So set the validator after all fields are made, and also change the data argument so the dependency is clearer.
Testing Done:
Compiled, and opened the New IM dialog.
Reviewed at https://reviews.imfreedom.org/r/2358/
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
# Ḷḷumex03 <tornes@opmbx.org>, 2013
# Ḷḷumex03 <tornes@opmbx.org>, 2013
# Ḷḷumex03 <tornes@opmbx.org>, 2013
msgid""
msgstr""
"Project-Id-Version: Pidgin\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-26 01:46-0500\n"
"PO-Revision-Date: 2017-09-19 16:55+0000\n"
"Last-Translator: Richard Laager <rlaager@wiktel.com>\n"