removed deprecated g_type_init(), fixed DATAROOTDIR