Use G_STRUCT_OFFSET macro