Fix catching of GError exceptions

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Merge branch 'master' into date-text-change