X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fchimara-glk.c;h=6669dc6b0f524c8b1497b43e469876e98cab1a11;hb=a8d619bf27856cb0c0c88273f85f6dac4b9fef4b;hp=40fddfe048734569564166c8025d6633c9c7fc4a;hpb=0121bfb334acf7756e068776bf40890c6fe14e13;p=projects%2Fchimara%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();