testdmabuf: Use a spinner as overlay

Thats a bigger challenge, and it breaks.
This commit is contained in:
Matthias Clasen 2024-02-09 11:50:51 -05:00
parent 933ce71ec6
commit 49e0ae8742

View File

@ -693,8 +693,10 @@ toggle_overlay (GtkWidget *widget,
}
else
{
child = gtk_image_new_from_icon_name ("media-playback-start-symbolic");
gtk_image_set_icon_size (GTK_IMAGE (child), GTK_ICON_SIZE_LARGE);
child = gtk_spinner_new ();
gtk_spinner_start (GTK_SPINNER (child));
gtk_widget_set_halign (child, GTK_ALIGN_CENTER);
gtk_widget_set_valign (child, GTK_ALIGN_CENTER);
gtk_overlay_add_overlay (overlay, child);
}