Probably have a look into an OS with the latest versions :
Example :
Fedora 12 Rawhide, "testing" : glib2-2.22.2 + gtk2-2.18.2 .
And may be use the patching from the "src.rpm's", if any :
glib2-2.22.2-1.fc12.src.rpm , gtk2-2.18.2-11.fc12.src.rpm .
( For month's, the version has been gtk2-2.18.3 , they have
now changed to gtk2-2.18.2 in ' beta ' )
http://download.fedora.redhat.com/pu...1.fc12.src.rpm
http://download.fedora.redhat.com/pu...2.fc12.src.rpm
These links are temporary, can change any day.
.....
.....
And by the way, I would configure the new libs this way:
' ./configure --prefix=/usr/local/glib2222/ '
.. not to disturb the current applications with some
"may be incompatible libraries".
.....