Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code. Requested by Olivier

* gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
        Requested by Olivier Sessink.

        * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.

        * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
        G_IO_ERROR_TOO_MANY_OPEN_FILES.


svn path=/trunk/; revision=7782
This commit is contained in:
Matthias Clasen
2009-01-08 01:32:15 +00:00
parent 5cacbdae8d
commit 2479abee27
5 changed files with 32 additions and 6 deletions

View File

@@ -53,9 +53,9 @@
* #GDesktopAppInfo is an implementation of #GAppInfo based on
* desktop files.
*
* Note that GDesktopAppInfo belongs to the UNIX-specific GIO interfaces,
* thus you have to use the <filename>gio-unix-2.0.pc</filename> pkg-config
* file when using it.
* Note that <filename>&lt;gio/gdesktopappinfo.h&gt;</filename> belongs to
* the UNIX-specific GIO interfaces, thus you have to use the
* <filename>gio-unix-2.0.pc</filename> pkg-config file when using it.
*/
#define DEFAULT_APPLICATIONS_GROUP "Default Applications"