fix for glib2-2.41.2

otherwise mate-mouse-properties doesn't start anymore
taken from https://git.gnome.org/browse/gnome-control-center/commit/?id=8251128055c28a8054f41d050ea0a0266a96b72a