Avoid warnings about GValueArray being deprecated by adding macros that wrap G_GNUC_BEGIN_IGNORE_DEPRECATIONS / G_GNUC_END_IGNORE_DEPRECATIONS around the GValueArray calls.