X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fchimara-glk.c;h=6669dc6b0f524c8b1497b43e469876e98cab1a11;hb=e4819b66649d4963a0661cba603c2967b02a6b80;hp=40fddfe048734569564166c8025d6633c9c7fc4a;hpb=b2786d791c97b51fee5f5c628d2819fc58c03d8e;p=rodin%2Fchimara.git diff --git a/libchimara/chimara-glk.c b/libchimara/chimara-glk.c index 40fddfe..6669dc6 100644 --- a/libchimara/chimara-glk.c +++ b/libchimara/chimara-glk.c @@ -84,7 +84,8 @@ chimara_glk_init(ChimaraGlk *self) priv->default_font_desc = pango_font_description_from_string("Sans"); priv->monospace_font_desc = pango_font_description_from_string("Monospace"); priv->css_file = "style.css"; - priv->default_styles = g_hash_table_new(g_str_hash, g_str_equal); + priv->default_styles = g_new0(StyleSet,1); + priv->current_styles = g_new0(StyleSet,1); priv->program = NULL; priv->thread = NULL; priv->event_queue = g_queue_new();