Add and use G_SIZEOF_MEMBER() macro
A convenient macro present in the Linux kernel, named FIELD_SIZE() there.
Signed-off-by: Marc-André Lureau marcandre.lureau@redhat.com
Edited by Philip Withnall
A convenient macro present in the Linux kernel, named FIELD_SIZE() there.
Signed-off-by: Marc-André Lureau marcandre.lureau@redhat.com