$OpenBSD: patch-src_tree_c,v 1.2 2011/06/27 08:12:39 jasper Exp $

https://bugzilla.gnome.org/show_bug.cgi?id=653468
--auto-close broken by fix for #540560

--- src/tree.c.orig	Tue Apr  5 00:34:20 2011
+++ src/tree.c	Mon Jun 27 10:03:32 2011
@@ -180,7 +180,7 @@ zenity_tree_handle_stdin (GIOChannel  *channel,
     g_string_free (string, TRUE);
   }
 
-  if ((condition != G_IO_IN) && (condition != G_IO_IN + G_IO_HUP)) {
+  if (condition != G_IO_IN) {
     g_io_channel_shutdown (channel, TRUE, NULL);
     return FALSE;
   }
