pidgin/pidgin

Avoid g_object_ref of NULL

20 months ago, Elliott Sales de Andrade
57dcc21a926e
Avoid g_object_ref of NULL

It is `NULL`-safe, but only with a `g_return_val_if_fail`, so it'll warn when passed `NULL`.

Testing Done:
Compile only

Reviewed at https://reviews.imfreedom.org/r/1836/
subdir('reference')
if ENABLE_GTK
pidgin_man = configure_file(
input : 'pidgin3.1.in',
output : 'pidgin3.1',
configuration : man_conf,
install : true,
install_dir : get_option('mandir') / 'man1')
endif
if enable_consoleui
finch_man = configure_file(
input : 'finch3.1.in',
output : 'finch3.1',
configuration : man_conf,
install : true,
install_dir : get_option('mandir') / 'man1')
endif