From ef3a33a142620fee850351d14f4a1c191fc6e273 Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Sun, 2 Jan 2011 22:57:42 -0200 Subject: Fix for bug 540560. Patch by Victor Ananjevsky --- src/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tree.c') diff --git a/src/tree.c b/src/tree.c index 3861e863..7b466674 100644 --- a/src/tree.c +++ b/src/tree.c @@ -180,7 +180,7 @@ zenity_tree_handle_stdin (GIOChannel *channel, g_string_free (string, TRUE); } - if (condition != G_IO_IN) { + if ((condition != G_IO_IN) && (condition != G_IO_IN + G_IO_HUP)) { g_io_channel_shutdown (channel, TRUE, NULL); return FALSE; } -- cgit