API: need g_module_open() variant with GError
@tpm
Submitted by Tim-Philipp Müller Link to original bug (#574660)
Description
I was surprised to find that the GModule API doesn't use GError.
I think there should be some kind of g_module_open_full() function which returns a GError in case of failure.
This is useful to distinguish between the case where opening the module failed because of some error, or the file just didn't exist in the first place, for example.
This would also make things consistent with the rest of the GLib-2.x API.