pidgin/pidgin

Use ZSubscription_t in zephyr_triple

2021-01-25, Arkadiy Illarionov
1bad06536f81
Use ZSubscription_t in zephyr_triple

* Change some functions to use `ZSubscription_t`
* Cleanup redundant `zephyr_triple` allocations
* Inline `zephyr_subscribe_failed`
* Replace `find_sub_by_sub` and `find_sub_by_id` with `g_slist_find_custom`
* Rename functions related to `zephyr_triple`

Testing Done:
Compile.

Reviewed at https://reviews.imfreedom.org/r/450/
subdir('disco')
subdir('gestures')
subdir('xmppconsole')
if PLUGINS
gtkbuddynote = library('gtkbuddynote', 'gtkbuddynote.c',
dependencies : [libpurple_dep, libpidgin_dep, glib],
name_prefix : '',
install : true, install_dir : PIDGIN_PLUGINDIR)
iconaway = library('iconaway', 'iconaway.c',
dependencies : [libpurple_dep, libpidgin_dep, glib],
name_prefix : '',
install : true, install_dir : PIDGIN_PLUGINDIR)
notify = library('notify', 'notify.c',
dependencies : [libpurple_dep, libpidgin_dep, glib],
name_prefix : '',
build_by_default: false,
install : false, install_dir : PIDGIN_PLUGINDIR)
relnot = library('relnot', 'relnot.c',
dependencies : [libpurple_dep, libpidgin_dep, libsoup, glib],
name_prefix : '',
install : true, install_dir : PIDGIN_PLUGINDIR)
spellchk = library('spellchk', 'spellchk.c',
dependencies : [libpurple_dep, libpidgin_dep, glib],
name_prefix : '',
build_by_default: false,
install : false, install_dir : PIDGIN_PLUGINDIR)
if IS_WIN32
transparency = library('transparency', 'transparency.c',
dependencies : [libpurple_dep, libpidgin_dep, glib],
name_prefix : '',
build_by_default : false,
install : false, install_dir : PIDGIN_PLUGINDIR)
endif
if enable_unity
unity = library('unity', 'unity.c',
dependencies : [UNITY, libpurple_dep, libpidgin_dep, glib],
name_prefix : '',
install : true, install_dir : PIDGIN_PLUGINDIR)
endif
endif # PLUGINS