Remove unnecessary NULL check

Review Request #1718 — Created Sept. 5, 2022 and submitted

Information

pidgin/pidgin
default

Reviewers

The account is allowed to be NULL here, according to the vfunc documentation,
but the interface method incorrectly enforced non-NULL.

This fixes a critical when selecting Gadu-Gadu in the account editor, as it is the only prpl to implement this method.

Selected Gadu-Gadu in a new account, saw no warnings, and the placeholder text was now added to username.

Summary ID
Remove unnecessary NULL check
The account is allowed to be `NULL` here, according to the vfunc documentation, but the interface method incorrectly enforced non-`NULL`.
7c1bd7dd1aba97d3ac4f49d2f44033889d655a9e
QuLogic
grim
  1. Ship It!
  2. Nice work, thanks!

  3. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...