pidgin/pidgin

Remove entire PurpleDebugUiInterface and implementations

2021-10-19, Elliott Sales de Andrade
02abf3170610
Remove entire PurpleDebugUiInterface and implementations

The `purple_debug*` functions are routed through GLib's logging interface, and the UIs capture logs from there, so there's no need for this interface any more.

Testing Done:
Opened Debug Window and saw logs appearing there.

Reviewed at https://reviews.imfreedom.org/r/1074/
PROGS = [
'account_option',
'attention_type',
'circular_buffer',
'credential_manager',
'credential_provider',
'history_adapter',
'history_manager',
'image',
'keyvaluepair',
'markup',
'protocol_action',
'protocol_attention',
'protocol_xfer',
'queued_output_stream',
'trie',
'util',
'whiteboard_manager',
'xmlnode',
]
test_ui = static_library(
'test-ui',
'test_ui.c',
'test_ui.h',
c_args: [
'-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()),
'-DG_LOG_USE_STRUCTURED',
'-DG_LOG_DOMAIN="Purple-TestUI"',
],
dependencies: [libpurple_dep, glib]
)
foreach prog : PROGS
e = executable('test_' + prog, 'test_@0@.c'.format(prog),
c_args : [
'-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir())
],
dependencies : [libpurple_dep, glib],
link_with: test_ui,
)
test(prog, e)
endforeach