aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-02-14 13:44:03 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-02-14 13:44:03 +0800
commite9ee985ddd8b690542afe7676ebbd92d1e1d9c7d (patch)
tree08a71bb3c85447c15a76ca77bfe0ac659744be7b /widgets/table
parenta7706feadeb606ec37133ee2376fcb30a98f5838 (diff)
downloadgsoc2013-evolution-e9ee985ddd8b690542afe7676ebbd92d1e1d9c7d.tar.gz
gsoc2013-evolution-e9ee985ddd8b690542afe7676ebbd92d1e1d9c7d.tar.zst
gsoc2013-evolution-e9ee985ddd8b690542afe7676ebbd92d1e1d9c7d.zip
Fixes bug #328283
svn path=/trunk/; revision=31512
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/ChangeLog7
-rw-r--r--widgets/table/e-table-item.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index a192f3c512..590c5ca5eb 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,10 @@
+2006-02-14 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fixes bug #328283
+
+ * e-table-item.c: (eti_tree_unfreeze): Added the return value for
+ scroll-event handler which causes a crash
+
2006-01-27 Andre Klapper <a9016009@gmx.de>
* e-table-config-no-group.glade:
* e-table-config.glade:
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index ea020c5710..1806fbbef4 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -1667,10 +1667,13 @@ adjustment_changed (GtkAdjustment *adjustment, ETableItem *eti)
eti_check_cursor_on_screen (eti);
}
-static void
+static gboolean
eti_tree_unfreeze (GtkWidget *widget, GdkEvent *event, ETableItem *eti)
{
- g_object_set_data (G_OBJECT (((GnomeCanvasItem *) eti)->canvas), "freeze-cursor", 0);
+ if (((GnomeCanvasItem *) eti)->canvas)
+ g_object_set_data (G_OBJECT (((GnomeCanvasItem *) eti)->canvas), "freeze-cursor", 0);
+
+ return FALSE;
}
static void