pidgin/pidgin

Remove now-unused PurpleXferUiOps.destroy.

2019-12-22, Elliott Sales de Andrade
d26ef8ea193f
Remove now-unused PurpleXferUiOps.destroy.

UI data is stored on GObjects and automatically destroyed, so this isn't
really needed as a UI op for *our* UIs. There will be a replacement soon
if needed by other UIs.
PROGS = [
'account_option',
'attention_type',
'circular_buffer',
'image',
'protocol_action',
'protocol_attention',
'protocol_xfer',
'queued_output_stream',
'smiley',
'smiley_list',
'trie',
'util',
'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())
],
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