pidgin/pidgin

1896a80ff8e3
Route GLib debug logging directly to the Finch debug window

Instead of flowing through purple debug, this merges some bits of the existing GLib log handler, and the purple debug printer.

Testing Done:
Open the Debug window an see some `GLib-*` outputs.

Reviewed at https://reviews.imfreedom.org/r/1057/
SILC_SOURCES = [
'buddy.c',
'chat.c',
'ft.c',
'ft.h',
'ops.c',
'pk.c',
'silc.c',
'silcpurple.h',
'util.c',
'wb.c',
'wb.h'
]
if DYNAMIC_SILC
silc_resources = gnome.compile_resources('silcresource',
'resources/silc.gresource.xml',
source_dir : 'resources',
c_name : 'silc')
SILC_SOURCES += silc_resources
silc_prpl = shared_library('silcpurple', SILC_SOURCES,
c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-SILC"'],
dependencies : [silc, libpurple_dep, glib],
install : true, install_dir : PURPLE_PLUGINDIR)
devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir())
endif