From: Philip Chimento Date: Sun, 3 May 2009 17:38:35 +0000 (+0000) Subject: Fixed a bug: pair windows need window streams too, even though they don't print X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=a3b6abfbba8e6ee18c07ffe232776e2943cea44a;p=rodin%2Fchimara.git Fixed a bug: pair windows need window streams too, even though they don't print git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@45 ddfedd41-794f-dd11-ae45-00112f111e67 --- diff --git a/src/window.c b/src/window.c index 6ae9f55..053bb48 100644 --- a/src/window.c +++ b/src/window.c @@ -469,7 +469,8 @@ glk_window_open(winid_t split, glui32 method, glui32 size, glui32 wintype, pair->rock = 0; pair->type = wintype_Pair; pair->window_node = g_node_new(pair); - pair->window_stream = NULL; + /* You can print to a pair window's window stream, but it has no effect */ + pair->window_stream = window_stream_new(pair); pair->echo_stream = NULL; /* The pair window must know about its children's split method */