Fix up g_log related helpers so they build (bad comparison, bad func signature)
Fix up g_log related helpers so they build (bad comparison, bad func signature)

freedesktop-unofficial-mirror/telepathy__telepathy-mission-control,freedesktop-unofficial-mirror/telepathy__telepathy-mission-control,freedesktop-unofficial-mirror/telepathy__telepathy-mission-control,freedesktop-unofficial-mirror/telepathy__telepathy-mission-control