gio: move Winsock error mapping to g_io_error_from_win32_error()
authorDan Winship <danw@gnome.org>
Tue, 25 Mar 2014 17:52:45 +0000 (13:52 -0400)
committerDan Winship <danw@gnome.org>
Sun, 30 Mar 2014 15:55:47 +0000 (11:55 -0400)
commit3da5d59078b135ee224dae223b7ebb3e873e980a
tree332def9069f140367b74469a2ad74733093a0c06
parentbefc111c435be63bdc6a2d59204f697d26688369
gio: move Winsock error mapping to g_io_error_from_win32_error()

Rather than having special code in gsocket.c, handle Winsock errors
along with other Win32 errors in gioerror.c

Also, reference g_win32_error_message() from the
g_io_error_from_win32_error() docs, and update the
g_win32_error_message() docs to clarify that it works with Winsock
error codes too.
gio/gioerror.c
gio/gsocket.c
glib/gwin32.c