summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-26 17:40:46 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-26 17:40:46 +0100
commit9941efa5f411348585a63efdacb1be382ab065ee (patch)
treed26ab497e0b687624c102afaa86e78d85a5b1bff
parentb63e417e38cd3df85ee5d64d38b96f981c104122 (diff)
Fix textbox test
-rw-r--r--test/textbox-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/textbox-test.c b/test/textbox-test.c
index fabcc1cc..27a2e96d 100644
--- a/test/textbox-test.c
+++ b/test/textbox-test.c
@@ -53,7 +53,7 @@ int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv )
cairo_surface_t *surf = cairo_image_surface_create ( CAIRO_FORMAT_ARGB32, 100, 100 );
cairo_t *draw = cairo_create ( surf );
PangoContext *p = pango_cairo_create_context ( draw );
- textbox_set_pango_context ( p );
+ textbox_set_pango_context ( "default", p );
textbox *box = textbox_create ( "textbox", TB_EDITABLE | TB_AUTOWIDTH | TB_AUTOHEIGHT, NORMAL, "test" );
TASSERT ( box != NULL );