aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-03-02 13:39:57 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-03-02 13:39:57 +0800
commit365a4d8c11361055c120e32c78b17be6ba552b55 (patch)
tree470d80b5d58bd85b2f867c1c22e1fc6625f4a4e4
parent6470a824626a938ff076c406fa61da44028f690a (diff)
downloadgsoc2013-evolution-365a4d8c11361055c120e32c78b17be6ba552b55.tar.gz
gsoc2013-evolution-365a4d8c11361055c120e32c78b17be6ba552b55.tar.zst
gsoc2013-evolution-365a4d8c11361055c120e32c78b17be6ba552b55.zip
Committing fix for bug #328283
svn path=/trunk/; revision=31623
-rw-r--r--widgets/table/ChangeLog7
-rw-r--r--widgets/table/e-table-item.c5
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;
}