Bug 554701 – filechooser spams console with useless warnings
svn path=/trunk/; revision=21571
This commit is contained in:
@ -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
|
2008-10-02 Christian Persch
|
||||||
|
|
||||||
Bug 554698 – mem leak in filechooser
|
Bug 554698 – mem leak in filechooser
|
||||||
|
|||||||
@ -1304,7 +1304,9 @@ enumerator_files_callback (GObject *source_object,
|
|||||||
|
|
||||||
if (error)
|
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);
|
g_error_free (error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user