** 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
This commit is contained in:
Milan Crha
2008-01-07 12:22:39 +00:00
committed by Milan Crha
parent 39be7e3d9c
commit c36282c9de
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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 :