summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon.jongsma@collabora.co.uk>2008-08-23 00:04:06 -0500
committerJonathon Jongsma <jonathon.jongsma@collabora.co.uk>2008-08-27 10:14:10 -0500
commite9a57f0648568c95db722801680eab5237ea94a8 (patch)
treeef8c683fb4ba192fe61cdc4c962b477bc47c684a /tests
parentb0428ba25f81b305c266833bd784062baecc8daa (diff)
Add a default value for the font_options parameter of the ScaledFont constructor
Diffstat (limited to 'tests')
-rw-r--r--tests/test-scaled-font.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-scaled-font.cc b/tests/test-scaled-font.cc
index 4bd7795..0b7aeae 100644
--- a/tests/test-scaled-font.cc
+++ b/tests/test-scaled-font.cc
@@ -13,6 +13,10 @@ void test_construction()
cairo_matrix_init_identity(&identity);
RefPtr<ScaledFont> font = ScaledFont::create(face, identity, identity, FontOptions());
BOOST_REQUIRE(font);
+
+ // now use the default argument for font_options
+ font = ScaledFont::create(face, identity, identity);
+ BOOST_REQUIRE(font);
}
void test_text_to_glyphs()