projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18dd096
)
Ignore deprecations in test-ot-tags
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 8 Jan 2013 02:04:26 +0000
(21:04 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 8 Jan 2013 02:07:01 +0000
(21:07 -0500)
This entire test is about the deprecated OpenType API.
Not much we can do except ignoring deprecations.
tests/test-ot-tags.c
patch
|
blob
|
history
diff --git
a/tests/test-ot-tags.c
b/tests/test-ot-tags.c
index
99c9a84
..
48bb47b
100644
(file)
--- a/
tests/test-ot-tags.c
+++ b/
tests/test-ot-tags.c
@@
-35,6
+35,8
@@
} \
} G_STMT_END
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
static void
test_script_tags (void)
{
@@
-94,7
+96,9
@@
test_language_tags (void)
{
PangoLanguage *l = pango_language_from_string (languages[i]);
PangoOTTag tag = pango_ot_tag_from_language (l);
+#if 0
PangoLanguage *m = pango_ot_tag_to_language (tag);
+#endif
if (i == 0)
{
@@
-127,3
+131,5
@@
main (int argc, char **argv)
return 0;
}
+
+G_GNUC_END_IGNORE_DEPRECATIONS