changed prototype of g_boxed_type_register_static() to contain an optional