summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@src.gnome.org>2007-05-14 23:27:56 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-05-14 23:27:56 +0000
commit7d65d8a9433ebc83dbfd116db33235dae9681ccd (patch)
tree98b093734314b3ef478c6955e9f7b0e23ebb2b71
parentd2bd6faec901d26257fe829438f894c191ea2c75 (diff)
downloadpango-7d65d8a9433ebc83dbfd116db33235dae9681ccd.tar.gz
Update to api changes
svn path=/trunk/; revision=2296
-rw-r--r--tests/test-ot-tags.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-ot-tags.c b/tests/test-ot-tags.c
index dbfca369..5363c1bb 100644
--- a/tests/test-ot-tags.c
+++ b/tests/test-ot-tags.c
@@ -57,7 +57,7 @@ test_script_tags (void)
if (i <= PANGO_SCRIPT_INHERITED || i == PANGO_SCRIPT_UNKNOWN)
{
- ASSERT (tag == PANGO_OT_DEFAULT_SCRIPT);
+ ASSERT (tag == PANGO_OT_TAG_DEFAULT_SCRIPT);
ASSERT (j == PANGO_SCRIPT_COMMON);
}
else if (tag == FT_MAKE_TAG ('k', 'a', 'n', 'a'))
@@ -103,13 +103,13 @@ test_language_tags (void)
if (i == 0)
{
- ASSERT (tag == PANGO_OT_DEFAULT_LANGUAGE);
+ ASSERT (tag == PANGO_OT_TAG_DEFAULT_LANGUAGE);
ASSERT (strcmp (pango_language_to_string (m), "xx") == 0);
}
else
{
- if (tag == PANGO_OT_DEFAULT_LANGUAGE)
- g_error ("Got PANGO_OT_DEFAULT_LANGUAGE for language '%s'", pango_language_to_string (l));
+ if (tag == PANGO_OT_TAG_DEFAULT_LANGUAGE)
+ g_error ("Got PANGO_OT_TAG_DEFAULT_LANGUAGE for language '%s'", pango_language_to_string (l));
if (!pango_language_matches (l, pango_language_to_string (m)))
g_error ("Got back %s for language %s (OT tag '%c%c%c%c')",