Fix GLib 2.22 compatibility
Fix GLib 2.22 compatibility

bgamari/librepo,rpm-software-management/librepo,rpm-software-management/librepo,rpm-software-management/librepo,Tojaj/librepo,cgwalters/librepo,rholy/librepo,rholy/librepo,Tojaj/librepo,Conan-Kudo/librepo,Conan-Kudo/librepo,rholy/librepo,cgwalters/librepo,bgamari/librepo,cgwalters/librepo,Tojaj/librepo,rholy/librepo,bgamari/librepo,cgwalters/librepo,Conan-Kudo/librepo