summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2009-10-14 18:43:05 +0100
committerBastien Nocera <hadess@hadess.net>2009-10-14 19:06:26 +0100
commite9a240cd52270992249223485714649d7ddb44f3 (patch)
tree9d25380d0b673606b5a2d2c5e043a4fd8656088d /demos
parent9112194791bb451a0ab952d2bd1d2158c6a6d664 (diff)
downloadgtk+-e9a240cd52270992249223485714649d7ddb44f3.tar.gz
Add GtkSpinner::animation-duration style property
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/list_store.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/gtk-demo/list_store.c b/demos/gtk-demo/list_store.c
index 33a7189559..156ddf6cd4 100644
--- a/demos/gtk-demo/list_store.c
+++ b/demos/gtk-demo/list_store.c
@@ -275,8 +275,10 @@ do_list_store (GtkWidget *do_widget)
if (!GTK_WIDGET_VISIBLE (window))
{
gtk_widget_show_all (window);
- if (timeout == 0)
+ if (timeout == 0) {
+ //FIXME this should use the animation-duration instead
timeout = g_timeout_add (80, spinner_timeout, NULL);
+ }
}
else
{