diff options
-rw-r--r-- | widgets/table/ChangeLog | 7 | ||||
-rw-r--r-- | widgets/table/e-table-item.c | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog index 3222b833a9..10cf401481 100644 --- a/widgets/table/ChangeLog +++ b/widgets/table/ChangeLog @@ -1,3 +1,10 @@ +2006-03-02 Srinivasa Ragavan <sragavan@novell.com> + + ** Fixes bug #328283 + + * e-table-item.c: (eti_tree_unfreeze): Use the right widget to + unfreeze the tree. + 2006-03-01 Simon Zheng <simon.zheng@sun.com> ** Fixes bug #331400 diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 1806fbbef4..f17108ed4a 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1670,8 +1670,9 @@ adjustment_changed (GtkAdjustment *adjustment, ETableItem *eti) static gboolean eti_tree_unfreeze (GtkWidget *widget, GdkEvent *event, ETableItem *eti) { - if (((GnomeCanvasItem *) eti)->canvas) - g_object_set_data (G_OBJECT (((GnomeCanvasItem *) eti)->canvas), "freeze-cursor", 0); + + if (widget) + g_object_set_data (widget, "freeze-cursor", 0); return FALSE; } |