[GLib] Fixed bug in CodeExporter.