From 03904ba6fc30d9a582528d256a5b1d57a87bd469 Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Sun, 17 Jun 2001 23:27:34 +0000 Subject: [PATCH] 2001-06-17 Dave Peticolas * 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 --- ChangeLog | 2 ++ src/gnome/cursors.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ad417745bb..b542111a4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2001-06-17 Dave Peticolas + * src/gnome/cursors.c (gnc_set_busy_cursor): fix warning + * src/scm/date-utilities.scm: use gnc:print-date instead of strftime diff --git a/src/gnome/cursors.c b/src/gnome/cursors.c index fe76c808e8..5f1c3e675e 100644 --- a/src/gnome/cursors.c +++ b/src/gnome/cursors.c @@ -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);