Fixed hook_id declarations to be gulong instead of guint.
authorwwp <wwp@free.fr>
Mon, 19 Mar 2018 10:03:09 +0000 (11:03 +0100)
committerwwp <wwp@free.fr>
Mon, 19 Mar 2018 10:03:09 +0000 (11:03 +0100)
commit3561faa0d119de9b0169f9065cd10d3ac5ed2cdf
treeef980c80a2a957bce6dc0a314b535529b421416c
parent4729e80f93dc31db4b6f9bf4ecdee4095f15ea94
Fixed hook_id declarations to be gulong instead of guint.
Made statusbar's hook_id static.
Rework hook_id magic value, now 0 instead of -1, and use a define (HOOK_NONE)
everywhere instead of 0. Any hook_id must be initialized to HOOK_NONE.
Hook_id that get invalidated or reset get the same HOOK_NONE value.
24 files changed:
src/avatars.c
src/common/hooks.c
src/common/hooks.h
src/gtk/logwindow.h
src/main.c
src/plugins/acpi_notifier/acpi_notifier.c
src/plugins/address_keeper/address_keeper.c
src/plugins/attachwarner/attachwarner.c
src/plugins/bogofilter/bogofilter.c
src/plugins/bsfilter/bsfilter.c
src/plugins/clamd/clamav_plugin.c
src/plugins/demo/demo.c
src/plugins/fetchinfo/fetchinfo_plugin.c
src/plugins/gdata/gdata_plugin.c
src/plugins/libravatar/libravatar.c
src/plugins/newmail/newmail.c
src/plugins/notification/notification_foldercheck.c
src/plugins/notification/notification_plugin.c
src/plugins/perl/perl_plugin.c
src/plugins/pgpcore/autocompletion.c
src/plugins/python/python_plugin.c
src/plugins/spamassassin/spamassassin.c
src/procheader.c
src/statusbar.c