[PATCH] test-text-client: fix compile error

U. Artie Eoff ullysses.a.eoff at intel.com
Tue Sep 4 10:53:07 PDT 2012


From: "U. Artie Eoff" <ullysses.a.eoff at intel.com>

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 at intel.com>
---
 tests/test-text-client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test-text-client.c b/tests/test-text-client.c
index 877fbc6..828f3a0 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);
 
-- 
1.7.11.2



More information about the wayland-devel mailing list