call g_type_init() at an appropriate place.

tested against pango-1.33.7 and pango-1.32.3-1.fc18.x86_64
Merge pull request #350 from monkeyiq/2013feb/issues/222

call g_type_init() at an appropriate place.