summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/links.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-12-13 09:03:47 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-12-13 09:03:47 -0500
commit7c70ad46264b449b40b2b9e41fbd77c87ce61c43 (patch)
tree308816881dce24e6e24975b3da0f7bdf8ea3744b /demos/gtk-demo/links.c
parent66b4f2a9dd581fdc60c755d0fa70483a9faee07e (diff)
downloadgtk+-alert-dialog-show-tweak.tar.gz
alertdialog: Add a cancellable argumentalert-dialog-show-tweak
Allow passing a cancellable to gtk_alert_dialog_show.
Diffstat (limited to 'demos/gtk-demo/links.c')
-rw-r--r--demos/gtk-demo/links.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/links.c b/demos/gtk-demo/links.c
index e7ae51d5f1..f77f785928 100644
--- a/demos/gtk-demo/links.c
+++ b/demos/gtk-demo/links.c
@@ -21,7 +21,7 @@ activate_link (GtkWidget *label,
"The term ‘keynav’ is a shorthand for "
"keyboard navigation and refers to the process of using "
"a program (exclusively) via keyboard input.");
- gtk_alert_dialog_show (dialog, GTK_WINDOW (gtk_widget_get_root (label)));
+ gtk_alert_dialog_show (dialog, GTK_WINDOW (gtk_widget_get_root (label)), NULL);
g_object_unref (dialog);
return TRUE;