summaryrefslogtreecommitdiff
path: root/tests/cocoa/test_ownership.m
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cocoa/test_ownership.m')
-rw-r--r--tests/cocoa/test_ownership.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cocoa/test_ownership.m b/tests/cocoa/test_ownership.m
index 2b2f52d..4e3bbd6 100644
--- a/tests/cocoa/test_ownership.m
+++ b/tests/cocoa/test_ownership.m
@@ -10,7 +10,7 @@ int main(void)
{
struct yasl_display *d = yasl_display_open(NULL, NULL);
assert(d);
- struct yasl_surface_spec spec = {.title = "Ownership test", .size = {160, 100}};
+ struct yasl_window_spec spec = {.title = "Ownership test", .size = {160, 100}};
struct yasl_surface *s = yasl_surface_create_toplevel(d, &spec);
assert(s);
assert(yasl_display_get_native_handle(d) == (void *)NSApp);