aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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