summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-16 16:06:40 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-16 16:06:40 -0400
commit1e256fe2c23ada5ad0547b2ea8b95539ef56ba95 (patch)
tree0b7c8965b8574d23265e15ebb0849c7c42e8d2fa
parentfe9122fb1b6cedd5d1bab46e550cd2bdc90bee82 (diff)
downloadpango-1e256fe2c23ada5ad0547b2ea8b95539ef56ba95.tar.gz
Fix the build
-rw-r--r--tests/test-font.c2
1 files changed, 1 insertions, 1 deletions
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");