Gtk-4.10 Vala 0.56.13 AlertDialog choose method does not match its documentation
After warnings about my use of MessageDialog I decided to use its replacement AlertDialog. I need to read back which of two buttons was pressed. The documentation shows the method:
public async int choose (Window? parent, Cancellable? cancellable) throws Error
In example code show the return type is void, and a third callback argument.
The example shows the callback calling [method@Gtk.AlertDialog.choose_finish]
to get the
result, but the choose_finish() method does not seem to exist.
Compiling my code showed errors saying that the return value did not exist, the callback was usable, but the choose_finish() method did not exists.