diff options
Diffstat (limited to 'e-util/e-cursor.c')
-rw-r--r-- | e-util/e-cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 : |