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>
dev
U. Artie Eoff 12 years ago committed by Kristian Høgsberg
parent 7c7d464ce7
commit 38b4d62ece
  1. 2
      tests/test-text-client.c

@ -160,7 +160,7 @@ create_text_model(int fd, struct display *display)
char buf[64]; char buf[64];
int len; 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); text_model_add_listener(display->text_model, &text_model_listener, display);
wl_display_flush(display->display); wl_display_flush(display->display);

Loading…
Cancel
Save