test-text-client: fix compile error
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Tue, 4 Sep 2012 17:53:07 +0000 (10:53 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 4 Sep 2012 20:15:59 +0000 (16:15 -0400)
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>
tests/test-text-client.c

index 877fbc6..828f3a0 100644 (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);