Fix DeprecationWarnings

Signed-off-by: Maël Lavault <mael.lavault@mailz.org>
Merge pull request #44 from moimael/deprecation-warnings

Fix DeprecationWarnings (GTK3+, thanks to moimael)