Gio.file_new_for_path returns type GLocalFile instead of GFile
The context is a Python plugin in GIMP. And then when you try to pass it in a GValueArray to GIMP, GIMP code spits out:
gimp_value_to_gp_param: GValue contains unsupported type 'GLocalFile'
I assume where GIMP code is checking the type of a GValue instance, and only accepting type GFile.
Some web sources say GLocalFile is an internal class?
Maybe its an alias, and the GIMP code should accept GLocalFile where it expects a GFile?
Or maybe whoever is putting it in a GValue should call it type GFile:
GObject.Value(Gio.File, Gio.File.new_for_path(tmp))