1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-05-30 09:20:07 +02:00

Minor cleanup

This commit is contained in:
Matthias Clasen 2010-07-10 18:04:22 -04:00
parent f8e22856c6
commit 29babb9fc8

@ -354,8 +354,7 @@ g_local_file_enumerator_next_file (GFileEnumerator *enumerator,
/* If the file does not exist there might have been a race where
* the file was removed between the readdir and the stat, so we
* ignore the file. */
if (my_error->domain == G_IO_ERROR &&
my_error->code == G_IO_ERROR_NOT_FOUND)
if (g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND))
{
g_error_free (my_error);
goto next_file;