From 5ac7f7c2f608a195ba2ed43f164d4f0eecb29a60 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 19 Mar 2021 14:05:15 -0400 Subject: [PATCH] ngl: Drop an unused struct member GskNglGlyphLibrary.hash_table wasn't used. --- gsk/ngl/gsknglglyphlibrary.c | 1 - gsk/ngl/gsknglglyphlibraryprivate.h | 1 - 2 files changed, 2 deletions(-) diff --git a/gsk/ngl/gsknglglyphlibrary.c b/gsk/ngl/gsknglglyphlibrary.c index bc57475c00..502bf01e26 100644 --- a/gsk/ngl/gsknglglyphlibrary.c +++ b/gsk/ngl/gsknglglyphlibrary.c @@ -98,7 +98,6 @@ gsk_ngl_glyph_library_finalize (GObject *object) { GskNglGlyphLibrary *self = (GskNglGlyphLibrary *)object; - g_clear_pointer (&self->hash_table, g_hash_table_unref); g_clear_pointer (&self->surface_data, g_free); G_OBJECT_CLASS (gsk_ngl_glyph_library_parent_class)->finalize (object); diff --git a/gsk/ngl/gsknglglyphlibraryprivate.h b/gsk/ngl/gsknglglyphlibraryprivate.h index 9df9526f99..f48ae6e585 100644 --- a/gsk/ngl/gsknglglyphlibraryprivate.h +++ b/gsk/ngl/gsknglglyphlibraryprivate.h @@ -55,7 +55,6 @@ G_DECLARE_FINAL_TYPE (GskNglGlyphLibrary, gsk_ngl_glyph_library, GSK, NGL_GLYPH_ struct _GskNglGlyphLibrary { GskNglTextureLibrary parent_instance; - GHashTable *hash_table; guint8 *surface_data; gsize surface_data_len; struct {