diff options
Diffstat (limited to 'cmd/demo4/main.ha')
-rw-r--r-- | cmd/demo4/main.ha | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/demo4/main.ha b/cmd/demo4/main.ha index c46bed2..ea8649c 100644 --- a/cmd/demo4/main.ha +++ b/cmd/demo4/main.ha @@ -6,7 +6,7 @@ use os; use rt; use types::c; -fn about_clicked(btn: *gtk4::Button, data: *void) void = { +fn about_clicked(btn: *gtk4::Button, data: *opaque) void = { let dialog = gtk4::about_dialog_new(); const authors: []*c::char = [ c::fromstr("Harriet?"), @@ -28,7 +28,7 @@ fn about_clicked(btn: *gtk4::Button, data: *void) void = { gtk4::widget_show(dialog); }; -fn activate(app: *gio::Application, data: *void) void = { +fn activate(app: *gio::Application, data: *opaque) void = { const app = app: *gtk4::Application; let button = gtk4::button_new_with_label(c::fromstr("About")); |