A geany work around would be nice, but as pointed out this should really be fixed at source and the last working version of glib2 is now rather old and really a feasible downgrade.
However this is really a hack with unknown possible consequences for Geany and other plugins, just to support an unmaintained plugin that could go away at any time (and perhaps it should if it triggers this Glib bug).