Bug 554701 – filechooser spams console with useless warnings

svn path=/trunk/; revision=21571
This commit is contained in:
Christian Persch 2008-10-02 19:47:57 +00:00
parent 96b8743e95
commit 60033fd59d
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-10-02 Christian Persch
Bug 554701 filechooser spams console with useless warnings
* gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
cancelled.
2008-10-02 Christian Persch
Bug 554698 mem leak in filechooser

View File

@ -1304,7 +1304,9 @@ enumerator_files_callback (GObject *source_object,
if (error)
{
g_warning (error->message);
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
g_warning ("%s", error->message);
g_error_free (error);
return;
}