gtk+ r21577 - in branches/gtk-2-14: . gtk
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21577 - in branches/gtk-2-14: . gtk
- Date: Thu, 2 Oct 2008 19:55:55 +0000 (UTC)
Author: chpe
Date: Thu Oct 2 19:55:55 2008
New Revision: 21577
URL: http://svn.gnome.org/viewvc/gtk+?rev=21577&view=rev
Log:
Bug 554701 â filechooser spams console with useless warnings
Modified:
branches/gtk-2-14/ChangeLog
branches/gtk-2-14/gtk/gtkfilesystem.c
Modified: branches/gtk-2-14/gtk/gtkfilesystem.c
==============================================================================
--- branches/gtk-2-14/gtk/gtkfilesystem.c (original)
+++ branches/gtk-2-14/gtk/gtkfilesystem.c Thu Oct 2 19:55:55 2008
@@ -1304,7 +1304,9 @@
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]