Clarify expectations with error codes like G_IO_ERROR_FAILED
authorDan Winship <danw@gnome.org>
Thu, 20 Mar 2014 13:25:19 +0000 (09:25 -0400)
committerDan Winship <danw@gnome.org>
Thu, 20 Mar 2014 13:31:56 +0000 (09:31 -0400)
commitc67d23aa2f788b2a49801c2ee26a11d56871ef7a
tree0f2c1614980b381a20d096ef46d2578a546bbccc
parent9c19f6dfa18c6ad6155d93413610e83822ca5210
Clarify expectations with error codes like G_IO_ERROR_FAILED

If an error code enumeration is expected to be extended in the future,
people shouldn't compare explicitly against its generic "FAILED" value.

https://bugzilla.gnome.org/show_bug.cgi?id=726775
gio/gioenums.h
gio/gioerror.c
glib/gerror.c