$OpenBSD: patch-src_tree_c,v 1.2 2011/09/27 10:26:02 jasper Exp $

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

--- src/tree.c.orig	Tue Sep 27 00:42:16 2011
+++ src/tree.c	Tue Sep 27 12:09:27 2011
@@ -187,7 +187,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;
   }
