testdialog: Add a spinner

Trying to track down a problem where animation stops when a modal
dialog is opened and closed.
This commit is contained in:
Matthias Clasen 2014-06-29 14:03:14 -04:00
parent b3b861c9d6
commit 297abd6e54

View File

@ -387,6 +387,12 @@ main (int argc, char *argv[])
gtk_widget_set_halign (button, GTK_ALIGN_CENTER);
gtk_container_add (GTK_CONTAINER (vbox), button);
button = gtk_spinner_new ();
gtk_spinner_start (GTK_SPINNER (button));
gtk_widget_show (button);
gtk_widget_set_halign (button, GTK_ALIGN_CENTER);
gtk_container_add (GTK_CONTAINER (vbox), button);
gtk_widget_show (window);
gtk_main ();