summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2012-09-04 10:53:07 -0700
committerKristian Høgsberg <krh@bitplanet.net>2012-09-04 16:15:59 -0400
commit38b4d62ecea62ea7296f9c9423f6e597b6b35da6 (patch)
tree59c9b6049c4bbfb337a170037b3d602807803562 /tests
parent7c7d464ce780e2d19705b2479c3e88d8ba8a09b4 (diff)
test-text-client: fix compile error
Pass surface to text_model_factory_create_text_model. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=54502 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-text-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-text-client.c b/tests/test-text-client.c
index 877fbc62..828f3a04 100644
--- a/tests/test-text-client.c
+++ b/tests/test-text-client.c
@@ -160,7 +160,7 @@ create_text_model(int fd, struct display *display)
char buf[64];
int len;
- display->text_model = text_model_factory_create_text_model(display->factory);
+ display->text_model = text_model_factory_create_text_model(display->factory, display->surface);
text_model_add_listener(display->text_model, &text_model_listener, display);
wl_display_flush(display->display);