aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-01-07 20:22:39 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-01-07 20:22:39 +0800
commitc36282c9ded725f4dfdaae8de5104fbd6180d31a (patch)
tree7be0031a79a1ac4f7d34059857dfde3db5198ac5 /e-util
parent39be7e3d9cc8d42b63ec88aecb7756440d0b96ae (diff)
downloadgsoc2013-evolution-c36282c9ded725f4dfdaae8de5104fbd6180d31a.tar
gsoc2013-evolution-c36282c9ded725f4dfdaae8de5104fbd6180d31a.tar.gz
gsoc2013-evolution-c36282c9ded725f4dfdaae8de5104fbd6180d31a.tar.bz2
gsoc2013-evolution-c36282c9ded725f4dfdaae8de5104fbd6180d31a.tar.lz
gsoc2013-evolution-c36282c9ded725f4dfdaae8de5104fbd6180d31a.tar.xz
gsoc2013-evolution-c36282c9ded725f4dfdaae8de5104fbd6180d31a.tar.zst
gsoc2013-evolution-c36282c9ded725f4dfdaae8de5104fbd6180d31a.zip
** Fix for bug #507363
2008-01-07 Milan Crha <mcrha@redhat.com> ** Fix for bug #507363 * e-cursor.c: (e_cursor_set): Also check if toplevel widget has non-NULL window property. svn path=/trunk/; revision=34776
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog7
-rw-r--r--e-util/e-cursor.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index c5ccab7aa7..917525d8dd 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-07 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #507363
+
+ * e-cursor.c: (e_cursor_set):
+ Also check if toplevel widget has non-NULL window property.
+
2007-12-14 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #211353
diff --git a/e-util/e-cursor.c b/e-util/e-cursor.c
index fa7fa991f9..7f0753a38f 100644
--- a/e-util/e-cursor.c
+++ b/e-util/e-cursor.c
@@ -46,7 +46,7 @@ void e_cursor_set (GtkWidget *widget, ECursorType cursor)
GdkCursor *window_cursor;
toplevel = gtk_widget_get_toplevel (widget);
- if (GTK_WIDGET_TOPLEVEL (toplevel)) {
+ if (GTK_WIDGET_TOPLEVEL (toplevel) && toplevel->window) {
switch (cursor) {
case E_CURSOR_NORMAL :