[pango/serialization-improvements: 17/19] test-layout: Drop the --show-font option




commit 5f539a0357ae3f5f1ebd4b97fb6844f70b48f30c
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 24 15:13:11 2021 -0500

    test-layout: Drop the --show-font option
    
    Not used anymore.

 tests/test-layout.c | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/tests/test-layout.c b/tests/test-layout.c
index b664af5d..0a4c8d3a 100644
--- a/tests/test-layout.c
+++ b/tests/test-layout.c
@@ -34,8 +34,6 @@
 
 static PangoContext *context;
 
-static gboolean opt_show_font;
-
 static GBytes *
 test_bytes (GBytes *orig)
 {
@@ -147,7 +145,6 @@ main (int argc, char *argv[])
   char *path;
   GOptionContext *option_context;
   GOptionEntry entries[] = {
-    { "show-fonts", '0', 0, G_OPTION_ARG_NONE, &opt_show_font, "Print font names in dumps", NULL },
     { NULL, 0 },
   };
 
@@ -163,9 +160,6 @@ main (int argc, char *argv[])
     }
   g_option_context_free (option_context);
 
-  if (g_getenv ("PANGO_TEST_SHOW_FONT"))
-    opt_show_font = TRUE;
-
   /* allow to easily generate expected output for new test cases */
   if (argc > 1 && argv[1][0] != '-')
     {


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