summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-06-29 14:03:14 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-06-29 14:03:52 -0400
commit297abd6e54948418e5dff471f066eb6fb338220f (patch)
tree638275a70b5f6f65bb1a1d52d8148fd91a605e86
parentb3b861c9d652f35ef865ef642a435291993adca0 (diff)
downloadgtk+-297abd6e54948418e5dff471f066eb6fb338220f.tar.gz
testdialog: Add a spinner
Trying to track down a problem where animation stops when a modal dialog is opened and closed.
-rw-r--r--tests/testdialog.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdialog.c b/tests/testdialog.c
index e38cc0cd2d..dbc2ff2de1 100644
--- a/tests/testdialog.c
+++ b/tests/testdialog.c
@@ -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 ();