adapt to new gbsearcharray.h code. (g_value_register_transform_func): turn