From: Philip Chimento Date: Mon, 25 May 2009 18:46:49 +0000 (+0000) Subject: glk_set_window(NULL) should not be allowed X-Git-Url: https://git.stderr.nl/gitweb?p=rodin%2Fchimara.git;a=commitdiff_plain;h=e887e681be593844f5b785cab709d6c5a63f175f 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 --- 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) ); }