Avoid compilation warnings
[rodin/chimara.git] / libchimara / chimara-glk.c
index 45031d9178767b51c63bbf535d67c1a2c9552be3..d8f071d5efa6bd25b63ee4fd68188bf018b3543d 100644 (file)
@@ -197,7 +197,10 @@ chimara_glk_finalize(GObject *object)
        pango_font_description_free(priv->default_font_desc);
        pango_font_description_free(priv->monospace_font_desc);
        g_free(priv->current_dir);
-       g_hash_table_destroy(priv->default_styles);
+       g_hash_table_destroy(priv->default_styles->text_buffer);
+       g_hash_table_destroy(priv->default_styles->text_grid);
+       g_hash_table_destroy(priv->current_styles->text_buffer);
+       g_hash_table_destroy(priv->current_styles->text_grid);
        
     G_OBJECT_CLASS(chimara_glk_parent_class)->finalize(object);
 }