libgnt/libgnt

bb7e6a14ff05
fix SIGSEGV when choosing Sounds from Actions menu in Finch

Testing Done:
Opened Sounds window in Finch.
There's another location in Finch where 'gnt_combo_box_get_dropdown' is called, which I would've liked to test, but I couldn't reach it. It's 'update_selected_account' in gntrequest.c which is triggered by some signal. The signal connection is established when username and accountlist fields are requested in 'finch_request_fields', but I didn't find a window in Finch where that's done (which doesn't mean it doesn't exist, just that I'm too unfamiliar with Finch to know where to look).

Reviewed at https://reviews.imfreedom.org/r/793/
DOC_MODULE = 'libgnt'
# Header files or dirs to ignore when scanning. Use base file/dir names
ignore_hfiles = [
'test',
'wms',
'gntinternal.h',
'gnt-skel.h'
]
# Extra options to supply to gtkdoc-scan.
scan_args = [
'--deprecated-guards=GNT_DISABLE_DEPRECATED',
'--rebuild-types',
'--rebuild-sections',
'--ignore-headers=' + ' '.join(ignore_hfiles),
]
# Extra options to supply to gtkdoc-mkdb.
mkdb_args = [
'--ignore-files=' + ' '.join(ignore_hfiles),
]
configure_file(
input : 'version.xml.in',
output : 'version.xml',
configuration : gnt_config)
gnome.gtkdoc(DOC_MODULE,
main_xml : DOC_MODULE + '-docs.xml',
namespace : 'gnt',
src_dir : libgnt_inc,
dependencies : libgnt_dep,
install : true,
scan_args : scan_args,
mkdb_args : mkdb_args,
gobject_typesfile : DOC_MODULE + '.types')