add comments

This commit is contained in:
yggverse 2025-03-18 22:06:51 +02:00
parent c092c5244c
commit 20cbde8ce6
2 changed files with 6 additions and 0 deletions

View file

@ -52,6 +52,9 @@ impl Common for AlertDialog {
.extra_child(&form.g_box)
.build();
// @TODO since 4.10
// https://docs.gtk.org/gtk4/method.AlertDialog.set_cancel_button.html
alert_dialog.add_responses(&[
RESPONSE_CANCEL,
// RESPONSE_MANAGE,

View file

@ -23,6 +23,9 @@ impl Unsupported for AlertDialog {
.default_response(RESPONSE_QUIT.0)
.build();
// @TODO since 4.10
// https://docs.gtk.org/gtk4/method.AlertDialog.set_cancel_button.html
// Set response variants
alert_dialog.add_responses(&[RESPONSE_QUIT]);