[gtk/text-placeholder-visibility: 8/13] Drop an unused functioN
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/text-placeholder-visibility: 8/13] Drop an unused functioN
- Date: Fri, 15 Jul 2022 20:46:02 +0000 (UTC)
commit 7258ee7415ff1b3b1183f91befab34b662b2d284
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 (®ister_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]