Create GPtrArrays with g_object_unref free function.

I hope this is the correct way.