X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fwindow.c;h=5f2bd5b349673bb2b46a755e46c3da8906c93240;hb=91214934fbcdfd363202a65c142194506604ff7b;hp=719816f58eeb77c1567228379c7e192b0f61c76a;hpb=95f3e35d90c857ee15c30b91ad2f3aa6e3867879;p=projects%2Fchimara%2Fchimara.git diff --git a/src/window.c b/src/window.c index 719816f..5f2bd5b 100644 --- a/src/window.c +++ b/src/window.c @@ -486,6 +486,9 @@ glk_window_open(winid_t split, glui32 method, glui32 size, glui32 wintype, (for line input) */ gtk_text_buffer_create_tag(textbuffer, "uneditable", "editable", FALSE, "editable-set", TRUE, NULL); + /* Create the default styles available to the window stream */ + style_init_textbuffer(textbuffer); + /* Mark the position where the user will input text */ GtkTextIter end; gtk_text_buffer_get_end_iter(textbuffer, &end);