Merge branch '1636-gtask-getters' into 'master'

gtask: Ensure to return 1 or 0 from getters rather than truthy ints

Closes #1636

See merge request !570
11 jobs from master in 13 minutes and 14 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #180337
cross-android_api21_arm64

00:01:27

passed #180338
cross-android_api28_arm64

00:00:54

passed #180339
cross-mingw64

00:02:05

passed #180336
fedora-autotools-x86_64

00:04:55

passed #180335
fedora-x86_64

00:04:59

passed #180342
freebsd-11
freebsd-11-x86_64

00:03:56

passed #180340
win32
msys2-mingw32

00:10:03

passed #180341
win32
vs2017-x64

00:07:50

 
  Coverage
passed #180343
coverage

00:02:02

75.5%
 
  Deploy
passed #180344
pages

00:01:06

passed pages:deploy

00:00:02