Switch TRUE and FALSE to C99 constants
While we cannot change gboolean
to C's own bool
type, we should be able to move away from GLib's own locally sourced, organic, artisanal boolean constants, and use true
and false
.
It should be possible to switch TRUE
and FALSE
to:
#include <stdbool.h>
#define FALSE false
#define TRUE true
And, possibly, to recommend people use true
and false
directly in newly written code.
Edited by Emmanuele Bassi