Modernise the codebase
Use G_DECLARE_*_TYPE to clarify the code and add niceties like g_autoptr. Use the private struct macro accessor to simplify the code too.
Use G_DECLARE_*_TYPE to clarify the code and add niceties like g_autoptr. Use the private struct macro accessor to simplify the code too.