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>
This commit is contained in:
U. Artie Eoff
2012-09-04 10:53:07 -07:00
committed by Kristian Høgsberg
parent 7c7d464ce7
commit 38b4d62ece
+1 -1
View File
@@ -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);