From 297abd6e54948418e5dff471f066eb6fb338220f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 29 Jun 2014 14:03:14 -0400 Subject: [PATCH] testdialog: Add a spinner Trying to track down a problem where animation stops when a modal dialog is opened and closed. --- tests/testdialog.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 ();