@levelLORD
I have no real idea what the problem might be, not having encountered it myself, but out of curiosity, did you install glib before or after gtk+?
The configure script will configure your makefile according to your system, so if you installed gtk+ first, it may be linked to glib v1 as you had not installed glib 2 at that point.
The order in which things are installed makes quite a bit of difference under Linux, particularly if you're installing from source.