Make gtk+-2.24.31 compatible with the changed API of glib-2.54.3
glib-2.54.3 changed API, compared to glib-2.52.3 and gtk+-2.24.31's expectations. This commit fixes the resulting issue in a backwards compatible way.
See-Also: https://bugs.gentoo.org/650536
Edited by Dennis Schridde