[pango] Fix the build



commit 1e256fe2c23ada5ad0547b2ea8b95539ef56ba95
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jul 16 16:06:40 2019 -0400

    Fix the build

 tests/test-font.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/test-font.c b/tests/test-font.c
index dac89e50..cea7356c 100644
--- a/tests/test-font.c
+++ b/tests/test-font.c
@@ -124,7 +124,7 @@ test_metrics (void)
   char *str;
 
 
-  if (strcmp (G_OBJECT_TYPE_NAME (pango_context_get_font_map ()), "PangoCairoWin32FontMap") == 0)
+  if (strcmp (G_OBJECT_TYPE_NAME (pango_context_get_font_map (context)), "PangoCairoWin32FontMap") == 0)
     desc = pango_font_description_from_string ("Verdana 11");
   else
     desc = pango_font_description_from_string ("Cantarell 11");


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