summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-19 14:05:15 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-03-19 14:05:15 -0400
commit5ac7f7c2f608a195ba2ed43f164d4f0eecb29a60 (patch)
treeec44b38c8ce0a2045d67495bb0ff35b3dc807b55 /gsk
parent9981f19409092c19f448423510fc4da34e64512d (diff)
downloadgtk+-5ac7f7c2f608a195ba2ed43f164d4f0eecb29a60.tar.gz
ngl: Drop an unused struct member
GskNglGlyphLibrary.hash_table wasn't used.
Diffstat (limited to 'gsk')
-rw-r--r--gsk/ngl/gsknglglyphlibrary.c1
-rw-r--r--gsk/ngl/gsknglglyphlibraryprivate.h1
2 files changed, 0 insertions, 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 {