pidgin/pidgin

Modernize debug.[ch]

2021-03-27, Gary Kramlich
4ee19005534e
Modernize debug.[ch]

This was mostly just styling but I added a functions to make things a bit
easier to read and migrate to GDateTime.

Testing Done:
Ran locally and verified debug works and still looks the same both on the console and in the debug window.

Reviewed at https://reviews.imfreedom.org/r/587/
if ENABLE_DOC
subdir('reference')
endif
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