Commit ef7499a3 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

gtk-demo: Add alternative text to a GtkPicture

This lets us text GtkPicture a11y support.
parent ed571ae6
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment