core: fix logical typo found by coverity

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
gpaste: fix coverity warning

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
update: make enums GTypes

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
client: add update signal

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>