[gtk/test-coverage: 6/8] Drop an unused function




commit 7ebc5454f4d31e01e2a34c4fbbcaa4d21b9edbc9
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 15 10:24:41 2022 -0400

    Drop an unused function

 gsk/gskprivate.c | 20 --------------------
 gsk/gskprivate.h |  2 --
 2 files changed, 22 deletions(-)
---
diff --git a/gsk/gskprivate.c b/gsk/gskprivate.c
index d9e1c3e30f..8404b9dbc6 100644
--- a/gsk/gskprivate.c
+++ b/gsk/gskprivate.c
@@ -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;
-}
-
diff --git a/gsk/gskprivate.h b/gsk/gskprivate.h
index 77c0fe2bf6..a8b92b4b18 100644
--- a/gsk/gskprivate.h
+++ b/gsk/gskprivate.h
@@ -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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]