pidgin/pidgin

Remove some unnecessary NULL checks.

2021-01-23, Elliott Sales de Andrade
447c01698e1c
Remove some unnecessary NULL checks.

* When removing a buddy, the group is optional as noted in the description.
* When setting a buddy icon, the icon may be %NULL to remove existing icons.

Testing Done:
Compile and watch for assertion failures in the log, when signing out of Bonjour, and when removing a buddy icon from an account (which did nothing.)

Reviewed at https://reviews.imfreedom.org/r/445/
---
id: im.pidgin.Finch3
runtime: org.gnome.Platform
runtime-version: '3.36'
sdk: org.gnome.Sdk
command: finch3
finish-args:
- --share=ipc
- --socket=x11
- --share=network
- --talk-name=org.freedesktop.Notifications
- --system-talk-name=org.freedesktop.Avahi
modules:
- packaging/flatpak/libpurple-common.yml
- packaging/flatpak/libgnt.yml
- name: finch3
buildsystem: meson
config-opts:
- -Dgtkui=false
- -Ddoc=false
sources:
- type: dir
path: '.'