From e887e681be593844f5b785cab709d6c5a63f175f Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Mon, 25 May 2009 18:46:49 +0000 Subject: [PATCH] glk_set_window(NULL) should not be allowed git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@92 ddfedd41-794f-dd11-ae45-00112f111e67 --- libchimara/window.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libchimara/window.c b/libchimara/window.c index 5fd2447..4db7706 100644 --- a/libchimara/window.c +++ b/libchimara/window.c @@ -873,12 +873,13 @@ glk_window_clear(winid_t win) * @win: A window. * * Sets the current stream to @win's window stream. It is exactly equivalent to - * #glk_stream_set_current(#glk_window_get_stream(@win)). + * |[ #glk_stream_set_current(#glk_window_get_stream(@win)) ]| + * See Streams. */ void glk_set_window(winid_t win) { - VALID_WINDOW_OR_NULL(win, return); + VALID_WINDOW(win, return); glk_stream_set_current( glk_window_get_stream(win) ); } -- 2.30.2