openbsd-ports/x11/gnome/zenity/patches/patch-src_tree_c

17 lines
530 B
Plaintext

$OpenBSD: patch-src_tree_c,v 1.4 2012/03/29 11:44:21 ajacoutot Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=653468
--auto-close broken by fix for #540560
--- src/tree.c.orig Fri Mar 23 14:46:09 2012
+++ src/tree.c Thu Mar 29 13:42:37 2012
@@ -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;
}