* Changing styles no longer affects existing windows
[rodin/chimara.git] / libchimara / chimara-glk.c
index 40fddfe048734569564166c8025d6633c9c7fc4a..6669dc6b0f524c8b1497b43e469876e98cab1a11 100644 (file)
@@ -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();