evolution r34776 - trunk/e-util
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r34776 - trunk/e-util
- Date: Mon, 7 Jan 2008 12:22:39 +0000 (GMT)
Author: mcrha
Date: Mon Jan 7 12:22:39 2008
New Revision: 34776
URL: http://svn.gnome.org/viewvc/evolution?rev=34776&view=rev
Log:
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.
Modified:
trunk/e-util/ChangeLog
trunk/e-util/e-cursor.c
Modified: trunk/e-util/ChangeLog
==============================================================================
--- trunk/e-util/ChangeLog (original)
+++ trunk/e-util/ChangeLog Mon Jan 7 12:22:39 2008
@@ -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
Modified: trunk/e-util/e-cursor.c
==============================================================================
--- trunk/e-util/e-cursor.c (original)
+++ trunk/e-util/e-cursor.c Mon Jan 7 12:22:39 2008
@@ -46,7 +46,7 @@
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 :
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]