Drop an unused function
authorMatthias Clasen <mclasen@redhat.com>
Fri, 15 Jul 2022 14:24:41 +0000 (10:24 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 15 Jul 2022 19:47:11 +0000 (15:47 -0400)
gsk/gskprivate.c
gsk/gskprivate.h

index d9e1c3e30fb6b39fca5ea8d8a3a765d3ce44d2c3..8404b9dbc6b502d06c751c32577f52b32c72c8e4 100644 (file)
@@ -15,23 +15,3 @@ gsk_ensure_resources (void)
 
   g_once (&register_resources_once, register_resources, NULL);
 }
-
-int
-pango_glyph_string_num_glyphs (PangoGlyphString *glyphs)
-{
-  int i, count;
-
-  count = 0;
-  for (i = 0; i < glyphs->num_glyphs; i++)
-    {
-      PangoGlyphInfo *gi = &glyphs->glyphs[i];
-      if (gi->glyph != PANGO_GLYPH_EMPTY)
-        {
-          if (!(gi->glyph & PANGO_GLYPH_UNKNOWN_FLAG))
-            count++;
-        }
-    }
-
-  return count;
-}
-
index 77c0fe2bf6712fffbdb868560f1dc4caa3d83a3a..a8b92b4b1819b2f471fe66fdb36184152fa416f2 100644 (file)
@@ -8,8 +8,6 @@ G_BEGIN_DECLS
 
 void gsk_ensure_resources (void);
 
-int pango_glyph_string_num_glyphs (PangoGlyphString *glyphs) G_GNUC_PURE;
-
 typedef struct _GskVulkanRender GskVulkanRender;
 typedef struct _GskVulkanRenderPass GskVulkanRenderPass;