2001-06-17 Dave Peticolas <dave@krondo.com>

* src/gnome/cursors.c (gnc_set_busy_cursor): fix warning


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4718 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-06-17 23:27:34 +00:00
parent 2d7d6818da
commit 03904ba6fc
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2001-06-17 Dave Peticolas <dave@krondo.com>
* src/gnome/cursors.c (gnc_set_busy_cursor): fix warning
* src/scm/date-utilities.scm: use gnc:print-date instead of
strftime

View File

@ -89,9 +89,9 @@ gnc_set_busy_cursor (GtkWidget *w, gboolean update_now)
for (node = gtk_container_get_toplevels (); node; node = node->next)
{
w = GTK_WIDGET (node->data);
w = node->data;
if (!w || !w->window)
if (!w || !GTK_IS_WIDGET (w) || !w->window)
continue;
gnc_ui_set_cursor (w->window, GNC_CURSOR_BUSY, update_now);