diff options
author | Tim Janik <timj@gtk.org> | 1998-03-31 04:39:57 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-03-31 04:39:57 +0000 |
commit | 30f22e0208593dba5ca5d3b824d8d03519414296 (patch) | |
tree | 5616dcc1cb8752adb73aae1339f101dcc0da3098 /tests | |
parent | 4e010612961ce08a1cedc3b9ee27437a8dbdb535 (diff) | |
download | gtk+-30f22e0208593dba5ca5d3b824d8d03519414296.tar.gz |
forgot to set the initial `0' cursor.
Tue Mar 31 06:37:16 1998 Tim Janik <timj@gtk.org>
* gtk/testgtk.c (create_cursors): forgot to set the initial `0' cursor.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgtk.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index c4e3dd4edd..8cfd862438 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -2653,10 +2653,11 @@ create_cursors () GTK_SIGNAL_FUNC (gtk_widget_destroy), GTK_OBJECT (window)); gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 5); - } - if (!GTK_WIDGET_VISIBLE (window)) - gtk_widget_show_all (window); + gtk_widget_show_all (window); + + set_cursor (spinner, darea); + } else gtk_widget_destroy (window); } |