Fix more warnings

Emmanuel Fleury requested to merge emmanuel.fleury/glib:fix_more_warnings into master

Next round of patches to squash all these warnings.

Merge request reports