X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstyle.c;h=2e2b80c898c73fb54bd31aeccf3659dbf2d1157e;hb=afcb589f8e9a227d40f839c6eb15bb28985545d5;hp=f7bce7f9a625a0f6f503928e7f4d4e5b7067c811;hpb=f3bf7fac9da93b3e2ad1f28f036e48b38d6f32c4;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/style.c b/libchimara/style.c index f7bce7f..2e2b80c 100644 --- a/libchimara/style.c +++ b/libchimara/style.c @@ -763,7 +763,7 @@ apply_stylehint_to_tag(GtkTextTag *tag, GtkTextTag *default_tag, glui32 wintype, gchar *font_family; GtkTextTag *font_tag = g_hash_table_lookup( wintype == wintype_TextBuffer? glk_data->styles->text_buffer : glk_data->styles->text_grid, - val? "normal" : "preformatted"); + val? "default" : "preformatted"); g_object_get(font_tag, "family", &font_family, NULL); g_object_set(tag_object, "family", font_family, "family-set", TRUE, NULL); g_free(font_family);