Return FALSE on error or EOF, which should also fix bug 516413, in

2008-02-25  Thomas Wood  <thos@gnome.org>

	* theme-thumbnail.c: (message_from_child): Return FALSE on error or EOF,
	which should also fix bug 516413, in addition to checking for G_IO_HUP.

svn path=/trunk/; revision=8523
This commit is contained in:
Thomas Wood 2008-02-25 22:06:42 +00:00 committed by Thomas Wood
parent 7a9a18d306
commit e0288e3e5d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-02-25 Thomas Wood <thos@gnome.org>
* theme-thumbnail.c: (message_from_child): Return FALSE on error or EOF,
which should also fix bug 516413, in addition to checking for G_IO_HUP.
2008-02-25 Thomas Wood <thos@gnome.org>
* theme-thumbnail.c:

View file

@ -862,7 +862,7 @@ message_from_child (GIOChannel *source,
case G_IO_STATUS_EOF:
case G_IO_STATUS_ERROR:
return TRUE;
return FALSE;
default:
g_assert_not_reached ();