diff options
Diffstat (limited to 'gtk/gtkalertdialog.c')
-rw-r--r-- | gtk/gtkalertdialog.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkalertdialog.c b/gtk/gtkalertdialog.c index ee40bcf1ee..6473304f8e 100644 --- a/gtk/gtkalertdialog.c +++ b/gtk/gtkalertdialog.c @@ -744,6 +744,7 @@ gtk_alert_dialog_choose_finish (GtkAlertDialog *self, * gtk_alert_dialog_show: * @self: a `GtkAlertDialog` * @parent: (nullable): the parent `GtkWindow` + * @cancellable: (nullable): a `GCancellable` to cancel the operation * * This function shows the alert to the user. * @@ -755,9 +756,10 @@ gtk_alert_dialog_choose_finish (GtkAlertDialog *self, */ void gtk_alert_dialog_show (GtkAlertDialog *self, - GtkWindow *parent) + GtkWindow *parent, + GCancellable *cancellable) { - gtk_alert_dialog_choose (self, parent, NULL, NULL, NULL); + gtk_alert_dialog_choose (self, parent, cancellable, NULL, NULL); } /* }}} */ |