object_instance_props_to_g_parameters should do more check on argv
Submitted by Guillaume Desmottes
All this pain could have been avoided if gjs would have raised an exception rather than silently accepting invalid arguments.
object_instance_props_to_g_parameters should raise an exception if:
- argc > 1
- argv is not dictionnary