summaryrefslogtreecommitdiff
path: root/utils/pango-segmentation.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-06 14:44:19 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-06 14:45:48 -0400
commit2430515cad2bc8e4cc8f511e41dd03f197afee0d (patch)
treedb3f02f1beb26857dddf401f5340607868dae5f9 /utils/pango-segmentation.c
parent0ece854601c7911976b4a2349d5a44d984723907 (diff)
downloadpango-2430515cad2bc8e4cc8f511e41dd03f197afee0d.tar.gz
utils: Remove leftover code
pango-segmentation is not a test, so don't call g_test_message.
Diffstat (limited to 'utils/pango-segmentation.c')
-rw-r--r--utils/pango-segmentation.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/utils/pango-segmentation.c b/utils/pango-segmentation.c
index 6931d180..0d5b5a49 100644
--- a/utils/pango-segmentation.c
+++ b/utils/pango-segmentation.c
@@ -83,17 +83,6 @@ show_segmentation (const char *input,
pango_layout_set_text (layout, text, length);
pango_layout_set_attributes (layout, attributes);
- if (pango_layout_get_unknown_glyphs_count (layout) > 0)
- {
- char *msg = g_strdup_printf ("Missing glyphs - skipping. Maybe fonts are missing?");
- g_test_skip (msg);
- g_free (msg);
- g_object_unref (layout);
- pango_attr_list_unref (attributes);
- g_free (text);
- return FALSE;
- }
-
pango_layout_get_log_attrs (layout, &attrs, &len);
for (i = 0, p = text; i < len; i++, p = g_utf8_next_char (p))