g_io_error_from_errno() generates wrong C code which doesn't compile.
Submitted by Hong Jen Yee
Link to original bug (#664530)
Description
g_io_error_from_errno() returns an unowned IOError according to gio-2.0.vapi. However, this generates wrong C code which doesn't compile. In C, g_io_error_from_errno() returns a numeric id of the error. Then generated code pass the numeric value to a GError pointer, which is completely wrong.
Depends on
Edited by Rico Tzschichholz