From ef7499a31b1bd20550e84cf3dc10a77523d37b2d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 22 Oct 2020 00:05:50 -0400 Subject: [PATCH] gtk-demo: Add alternative text to a GtkPicture This lets us text GtkPicture a11y support. --- demos/gtk-demo/images.c | 1 + 1 file changed, 1 insertion(+) diff --git a/demos/gtk-demo/images.c b/demos/gtk-demo/images.c index 43d138101c..e13302eb53 100644 --- a/demos/gtk-demo/images.c +++ b/demos/gtk-demo/images.c @@ -414,6 +414,7 @@ do_images (GtkWidget *do_widget) * will create the pixbuf and fill it in. */ picture = gtk_picture_new (); + gtk_picture_set_alternative_text (GTK_PICTURE (picture), "A slowly loading image"); gtk_frame_set_child (GTK_FRAME (frame), picture); start_progressive_loading (picture);