X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fwindow.c;h=224db4808cf789c5b4f72b9f4e35c8bb2db982b0;hb=38cdc1b4f47ed8632ac9ea7559e5cb0e021d8477;hp=94042d1a9aaa901b0d2233453858cecc28518897;hpb=8b8b592abd23f01d0e083011b309c6f02f8183d5;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/window.c b/libchimara/window.c index 94042d1..224db48 100644 --- a/libchimara/window.c +++ b/libchimara/window.c @@ -26,6 +26,7 @@ window_new_common(glui32 rock) win->window_stream->type = STREAM_TYPE_WINDOW; win->window_stream->window = win; win->window_stream->style = "normal"; + win->window_stream->glk_style = "normal"; win->echo_stream = NULL; win->input_request_type = INPUT_REQUEST_NONE; @@ -585,8 +586,7 @@ glk_window_open(winid_t split, glui32 method, glui32 size, glui32 wintype, /* Create the pager position mark; it stands for the last character in the buffer that has been on-screen */ - GtkTextMark *pager_position = gtk_text_buffer_create_mark(textbuffer, "pager_position", &end, TRUE); - gtk_text_mark_set_visible(pager_position, TRUE); + gtk_text_buffer_create_mark(textbuffer, "pager_position", &end, TRUE); } break;