gresolver: Document that GResolver lists are non-empty on success
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 24 Apr 2014 08:24:48 +0000 (09:24 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 25 Apr 2014 08:52:01 +0000 (09:52 +0100)
commit14b0c15abb228c1e4c5400595cd7c0ff8d86bfbd
treee9cd050347794f3dfae7f6e0ecc572afc80df031
parentc565d645e9aab5065d4141bb7d5c290213fab924
gresolver: Document that GResolver lists are non-empty on success

The documentation previously wasn’t clear about whether the GResolver
methods could return an empty list and no error. On balance, this seems
like a bad idea, and GResolver should commit to always return a
non-empty list, or an error (which should be G_RESOLVER_ERROR_NOT_FOUND
if the list would otherwise be empty).

https://bugzilla.gnome.org/show_bug.cgi?id=728776
gio/gresolver.c