From e0288e3e5d6e34d2df6dcb19e8654b42d850178e Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Mon, 25 Feb 2008 22:06:42 +0000 Subject: [PATCH] Return FALSE on error or EOF, which should also fix bug 516413, in 2008-02-25 Thomas Wood * 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 --- capplets/common/ChangeLog | 5 +++++ capplets/common/theme-thumbnail.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/capplets/common/ChangeLog b/capplets/common/ChangeLog index 82541c24b..1efdb7a9c 100644 --- a/capplets/common/ChangeLog +++ b/capplets/common/ChangeLog @@ -1,3 +1,8 @@ +2008-02-25 Thomas Wood + + * 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 * theme-thumbnail.c: diff --git a/capplets/common/theme-thumbnail.c b/capplets/common/theme-thumbnail.c index 734d7199b..008d4bf4a 100644 --- a/capplets/common/theme-thumbnail.c +++ b/capplets/common/theme-thumbnail.c @@ -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 ();