fix for glib2-2.41.2
this will fix https://github.com/mate-desktop/mate-screensaver/issues/50
Merge pull request #51 from NiceandGently/master

fix for glib2-2.41.2