]> Pileus Git - ~andy/gtk/commit
Fix GtkSpinner using style before it's set
authorBastien Nocera <hadess@hadess.net>
Wed, 14 Oct 2009 22:11:43 +0000 (23:11 +0100)
committerBastien Nocera <hadess@hadess.net>
Thu, 15 Oct 2009 00:43:26 +0000 (01:43 +0100)
commit7fd79f42ab7f5ab19df4033309ecdcc113c7f32b
treedcbd9ca5b23677bbb18218387e4a625c7a0c3946
parent6f44b009354ccfcc84ace52774a521500a45afa9
Fix GtkSpinner using style before it's set

Fix a possible division by zero when the spinner
is started before it's realized (eg. before it has a style
set).

https://bugzilla.gnome.org/show_bug.cgi?id=598496
demos/gtk-demo/spinner.c
gtk/gtkspinner.c