pidgin/pidgin

27c5004a6c65
Re-arrange jabber_buddy_resource_free to avoid use-after-free warning.

scan-build doesn't recognize the effect of g_list_remove, but this seems
a bit cleaner anyway.
FACEBOOKSOURCES = [
'api.c',
'api.h',
'data.c',
'data.h',
'facebook.h',
'facebook.c',
'http.c',
'http.h',
'id.h',
'json.c',
'json.h',
'mqtt.c',
'mqtt.h',
'thrift.c',
'thrift.h',
'util.c',
'util.h'
]
if DYNAMIC_FACEBOOK
facebook_prpl = shared_library('facebook', FACEBOOKSOURCES,
dependencies : [json, libpurple_dep, libsoup, glib],
install : true, install_dir : PURPLE_PLUGINDIR)
# Used to produce docs.
facebook_inc = include_directories('.')
facebook_dep = declare_dependency(
link_with : facebook_prpl,
dependencies : [json, libpurple_dep, glib])
endif